Re: Problem with procmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wednesday, January 25, 2012, Timothy Murphy <gayleard@xxxxxxxxxx> 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/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux