Enzo asked,
any reason I shouldn't be just reading in the headers for these
operations? with a
:0 h
* ? formail -x"From" -x"From:" -x"Sender:" -x"Reply-To:"
-x"Return-Path:" | fgrep -is -f /user/blacklist
* ! ^X-Loop: postmaster(_at_)mydomain\(_dot_)com
| (formail -r \ yada yada yada....
versus a
:0
* ? formail -x"Fro yada yada yada....
If you're asking about the condition line, `h' affects the action line,
not the condition lines. `H' without `B' is the default, so if there's
no `B' among the flags, only the head will be fed to a command in an
exit code condition.
If it makes you feel surer, you can write the condition as
* H ?? ? command string
As regards the action line, formail -r without -k drops the body, so `h'
might be a good idea so that, if the body is large enough to slop into
another buffer that formail won't read, procmail won't report a write error.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail