procmail
[Top] [All Lists]

Re: procmail using HOME instead of MAILDIR

2006-08-12 17:28:24
Luke Vanderfluit wrote:

I've just set up a new box and got my mail working.
My .procmailrc (part of it) looks like this:
/~~~~~~~~~~~~~~~~~~~~~~~~~
PATH=/usr/bin:/bin:/usr/local/bin:.
MAILDIR=/newStore/mail/ # Youd better make sure it exists
DEFAULT=$MAILDIR/Inbox
LOGFILE=$MAILDIR/logFile
LOCKFILE=$HOME/.lockmail
\_________________________

Yet the mail gets delivered to $HOME/<mailbox> instead of 
/newStore/mail/<mailbox>

Why is this happening? I am obviously overlooking something.

I think you might have to change the DEFAULT to this:

     DEFAULT=$MAILDIR/#LOGNAME

I am not sure, but you might need to use a system wide procmailrc file
rather than each user having his/her own.

What MTA are you employing to employing? Does it start the procmail
delivery?


-- 
Gerard Seibert
gerard(_at_)seibercom(_dot_)net


____________________________________________________________
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