Toen ik Craig Clark kietelde, kwam er dit uit:
LOGFILE="/var/log/mail/$USER.log"
Strange location for a logfile. Why not something like
$HOME/pm.log
IMAP = "$DELIVERMAIL -e -a $USER -m user.$USER"
BACKUP = "$DELIVERMAIL -e -a $USER -m user.$USER.Backup"
SPAMIT = "$DELIVERMAIL -e -a $USER -m user.$USER.SPAM"
I think you need a USER = "$LOGNAME" in front of the first
use of $USER.
:0 w
{
EXITCODE=$?
No closing bracket?
Put a VERBOSE=ON at the start, and inspect the resulting LOGFILE.
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail