On 30-8-2009 9:29, Lance Robertson wrote:
[snip]
Example from procmail rc file
# If the NFROM is INVALIDFROM then handle adding the Header to
indicate that is the problem
:0 fhw
* ? $GREP -i ^$NFROM$ $INVALIDFROM
| formail -I "X-IDENTIFIER: INVALIDFROM"
# If the NFROM is INVALIDFROM then handle incrementing the spammer count
:0fw
* ? $GREP -i ^$NFROM$ $INVALIDFROM
| /home/lrzone/logspam.pl
# If the NFROM is INVALIDFROM then handle putting it in the correct
email box
:0:$HOME/.invalidfromlock
* ? $GREP -i ^$NFROM$ $INVALIDFROM
$HOME/mail/INVALIDFROM
You seem to be doing way more work than necessary.
:0
* ? $GREP -i ^$NFROM$ $INVALIDFROM
{
:0c
| /home/lrzone/logspam.pl
:0:$HOME/.invalidfromlock
$HOME/mail/INVALIDFROM
}
Rich
____________________________________________________________
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