procmail
[Top] [All Lists]

Scripting, Delivery and Logging

2007-09-24 09:02:42
:0
* ^X-Spam-Flag: YES
{
 :0fhw
 | /etc/procmail/scripts/spam_log.pl "$FROMHDR" "$SUBJHDR"
 :0
 spam
}

When I run the above pair, the output to "spam" is messed up and the
output that goes into /var/log/procmail is cut short (no From or
Subject).  Am I doing this wrong?  Is there a better way to do it such
that I can parse the email (at least the headers, maybe the body
later) and still have normal delivery and logging?

Thanks,
Scott
____________________________________________________________
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>