procmail
[Top] [All Lists]

Re: procmail spam identifying problem

2002-01-22 11:45:01
You should note that much of what you seem to want to do can be done
in ways that are less resource intensive.  For example:

:0:
* ^Subject \/.*
* ? echo "$MATCH" | $FGREP -i -f $REJECTS
spamfolder

will avoid launching formail merely to gather SUBJECT, and:

:0 B:
* ? $FGREP -i -f $BODY_REJECTS
spamfolder

will avoid launching it to grab BODY, since a special condition of "?"
always pipes the message through the command line anyway.

:0EB:
* ? $FGREP -i -f $BODY_REJECTS
spamfolder

This works fine - the body is piped to the grep.  However, the subject
suggestion didn't work for me.
logfile reads:
procmail: No match on "^Subject \/.*"

- Jeff

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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