Skip site navigation (1)Skip section navigation (2)
Date:      25 Apr 2003 12:49:23 -0500
From:      Jeremy Gaddis <jeremy@gaddis.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Convert Sendmail Email to Qmail
Message-ID:  <1051292962.74187.10.camel@jupiter.main.gaddis.org>
In-Reply-To: <20030425131446.GJ10208@devil.stderror.at>
References:  <20030425074217.90853.qmail@hpcaz.com> <20030425131446.GJ10208@devil.stderror.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-04-25 at 08:14, Toni Schmidbauer wrote:
> On Fri, Apr 25, 2003 at 12:42:17AM -0700, webmaster@hpcaz.com wrote:
> > QUESTION:
> > What is the best way to convert from Sendmail's mailbox format (mbox) to 
> > Qmail's (maildir)?  (Also moving from RedHat to FreeBSD--hence my post to 
> > this list. And, yes, I'm also posting to Qmail's list.) 
> 
> for local delivery i would use procmail. procmail handles mbox
> and maildir.
> 
> converting mbox to maildir is another story. on google, i found
> the following tool:
> 
> http://www.gerg.ca/hacks/mb2md/

Even better is a utility called safecat.  I don't have the
URL handy, but Google should find it fairly easily.

safecat allows you to convert mbox files into Maildir's easy as
shit.  A quick one-liner per mbox is all it takes.

`safecat -m maildir ~username/Maildir/ < mbox` or something
like that.  Doesn't get much easier than that.  :)

j.

-- 
Jeremy L. Gaddis   <jeremy@gaddis.org>   <http://www.gaddis.org>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1051292962.74187.10.camel>