On Sat, Sep 08, 2001 at 05:42:33PM +0200 or thereabouts, Martin F Krafft wrote:
> also sprach Rino Mardo (on Sat, 08 Sep 2001 11:39:54AM +0800):
> > the question is: how do i setup a maildir structure in linux with the above
> > configuration in mind.
> 
> Maildir uses the directory ~/Maildir/ by default, so add the following
> line to your postfix's main.cf:
> 
> home_mailbox = Maildir/
> 
> from now on, postfix will deliver to Maildir/ in Maildir format
> (because of the trailing slash, Maildir's "flag") by default.
> 
> however, since you are using procmail, you don't have to make that
> site-wide, because you can simply postfix your mailboxes with a slash
> to make them Maildirs. for instance, the following procmailrc will
> deliver to Maildirs.
> 
> ===
> VERBOSE=no
> LOGABSTRACT=yes
> MAILDIR=$HOME/Mail
> DEFAULT=$MAILDIR/inbox/
> 
> :0
> * ^Return-Path:[EMAIL PROTECTED]
> $MAILDIR/debian/
> ===
> 
> which will write all messages to debian user into the ~/Mail/debian/
> Maildir (containing cur, tmp, and new), and everything else into
> ~/Mail/inbox/
> 
> 
> and yes, Maildir is better by a factor of two thousand and one.
> 
a thousand thanks man. it worked. though i made a mistake initially in creating
the directories first whereas i should have let the mda create it.

i was able to move my default spool from "/var/mail/<user>" to "~/Mail/inbox/"
using a symlink from "/var/mail/<user>" to "~/Mail/inbox/".

-- 
"the teenage mom with the baby inside getting high on information"
        -- Californication (Red Hot Chili Peppers)

Attachment: pgphonD5brRcE.pgp
Description: PGP signature

Reply via email to