procmail
[Top] [All Lists]

Re: qmail+procmail+vpopmail (duplicate messages)

2005-11-25 05:12:32
Nickie Deuxyeux schreef:


DOMHOME="$VPOPHOME/domains/$DOM"

Where does $DOM come from? Procmail normally hides external environment
variables, but a few.


USERHOME="$DOMHOME/$USERNAME"

Same goes for $USERNAME. Did you mean $LOGNAME?

And why do you need that in /etc/procmailrc?



DEFAULT="$USERHOME/.maildir"
HOME="$USERHOME"
INCLUDERC="$USERHOME/.procmailrc"

You are running the user's .procmailrc in a wrong way.
When /etc/procmailrc is finished (and the message is not delivered yet),
then the user's .procmailrc is processed, with the user's rights.


 :0 w
 |/usr/bin/safecat "${HOME}/.maildir/tmp" "${HOME}/.maildir/new"

Why not let procmail deliver to .maildir/?

-- 
Grtz, Ruud


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>