[CentOS] Problem with procmail

Bart Schaefer barton.schaefer at gmail.com
Wed Jan 25 17:16:23 UTC 2012


On Wednesday, January 25, 2012, Timothy Murphy <gayleard at eircom.net> wrote:
> I'm trying to setup email on a new server running CentOS-6.2 (x86_64),
> but for some reason email is going to /var/spool/mail/
> despite the fact that my .procmailrc starts
> -------------------------------
> DEFAULT=/var/spool/mail
> MAILDIR=/home/tim/Maildir/
> SHELL=/bin/sh
> DROPPRIVS=yes
> -------------------------------

DEFAULT sets where the mail will be delivered.  MAILDIR is the current
working directory and only affects explicit delivery rules that use
relative pathnames for maiboxes.  The use of "MAILDIR" in procmail predates
DJB's choice of "maildir" as the name of a mailbox format and is not
related.  This has caused a lot of confusion over the years ...

You probably want:

ORGMAIL=/var/spool/mail
MAILDIR=/home/tim/Maildir
DEFAULT=$MAILDIR/



More information about the CentOS mailing list