On Sat, Jul 11, 2009 at 9:40 AM, Admin<admin(_at_)enabled(_dot_)com> wrote:
Hi there,
The below configuration is not working properly. What am I doing wrong?
"Not working properly" is almost never a sufficient description to get
a reasonable answer to your question. You need to explain what IS
happening (the mailbox is created but it's in the wrong place,
perhaps?) or is NOT happening (no mailbox is ever written, mail is
lost, etc.) in as much detail as possible. You don't take your car to
a mechanic and merely say, "Help me, it's broken," do you?
You're keeping a log file (good first step), can you show us a
relevant portion of that?
I put in place a systemwide /etc/procmailrc file and want to deliver mail
marked as spam to a local folder to the corresponding user's homedir
'~/mail/Spam'
If you're not going to do very much delivery from /etc/procmailrc then
I suspect that in your delivery recipes you want to provide the full
path to the Spam folder and any other folders to which you want to
deliver.
If that's going to be too repetitive, then at some point after the
DROPPRIVS you need to do
MAILDIR=$HOME/mail
and then at the end of the /etc/procmailrc restore the previous
directory, possibly with
MAILDIR=$HOME
But again I'm only guessing because you didn't really say what the trouble is.
____________________________________________________________
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