procmail
[Top] [All Lists]

Re: How to make procmail create the spool dir in Maildir format?

2007-01-31 11:56:51
Oliver Schulze L. schreef:

My delivery setup (all mail in Maildir format) :
user inbox: /var/spool/mail/Maildir/$USER
user personal folders: /home/$USER/Maildir

My config:
/etc/procmailrc
MAILDIR=/var/spool/mail/Maildir

Are you sure?

I would think:

   DROPPRIVS=yes
   MAILDIR=/var/spool/mail/Maildir/$LOGNAME



DEFAULT=$LOGNAME/

Better spell that out:

  DEFAULT=$MAILDIR/$LOGNAME/

(or when MAILDIR already ends in $LOGNAME, back to this again:
DEFAULT=$MAILDIR/)


or even

  DEFAULT=/var/spool/mail/Maildir/$LOGNAME/


The trick comes here, if a user uses ~/.procmailrc, he must put
at the begining of his .procmailrc these lines:
MAILDIR=/home/$LOGNAME/Maildir

I guess you can make that:

   MAILDIR=$HOME/Maildir

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail