Hi all, I'm using procmail 3.22 (comes with CentOS 5) and am running
into an issue trying to tell procmail to deliver my messages to a
Maildir style mailbox outside of my home directory:
MAILDIR=/var/mail/vhosts/bludgeon.org/rayvd/Maildir/
# MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/procmail.log
SHELL=/bin/bash
VERBOSE=no
UMASK=007
procmail would be assumedly running as my uid/gid. I have write access
to the MAILDIR listed above and can create and read files there just
fine from my shell account.
/var/mail/vhosts:
drwxr-x--- 3 virtual virtual 4096 Jan 24 10:36 vhosts/
/var/mail/vhosts/bludgeon.org:
drwxr-x--- 24 virtual virtual 4096 Jan 24 22:32 bludgeon.org/
/var/mail/vhosts/bludgeon.org/rayvd:
drwxrws--- 2 rayvd virtual 4096 Jan 24 22:35 rayvd/
/var/mail/vhosts/bludgeon.org/rayvd/Maildir:
drwxrws--- 2 rayvd virtual 4096 Jan 24 22:35 Maildir/
id rayvd:
uid=500(rayvd) gid=500(rayvd) groups=500(rayvd),5000(virtual)
My .forward contains "|/usr/bin/procmail". And I am using the local:
delivery method from postfix (if it's relevant).
However, wit the above .procmailrc file, I get the following error in
my logfile:
From xxxxxxxxxx(_at_)xxxx(_dot_)com Thu Jan 24 13:11:59 2008
Subject: afejjefaj
Folder: ./msg.NEAm 1886
procmail: [28713] Thu Jan 24 13:13:16 2008
procmail: No match on "^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\**"
procmail: No match on "^X-Spam-Status: Yes"
procmail: Assigning "LASTFOLDER=./msg.NEAm"
procmail: Opening "./msg.NEAm"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "rayvd(_at_)0:././msg.NEAm"
And the message ends up in a file called msg.NEAm in my home directory.
I tried changing MAILDIR back to $HOME/Maildir/ and making
$HOME/Maildir a symbolic link to /var/mail/vhosts/bludgeon.org/rayvd/Maidir,
but this also resulted in the same issue.
It appears the only way I can get this to deliver "correctly" is for
the Maildir to actually physically be located in my home directory.
I figure this must be a security related thing. Maybe procmail doesn't
like the supplemental group thing?
Any ideas?
____________________________________________________________
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