Thanks Walter, works like a charm now. Added the new Papa virus to it too
which just came out today I guess.
Jerry
I get the following message in the log file:
procmail: Extraneous filter-flag ignored
When I remove this recipe, I don't get any error messages.
Here is the recipe
:0 f
* ^Subject:.*important Message From
{
:0B
* Here is that document you asked for
* don't show anyone else
* ^Content-.*: .*\.do[ct]
}
|formail -A "X-Spam-Reject: rc.viruses - Melissa Word"
:0
* ^X-Spam-Reject:
/var/mail/spam
An "f" flag has no effect whatsoever on a recipe whose
"delivery" action is to open another recipe in braces.
I'm surprised your recipe works at all, since the innermost
recipe has no "delivery" action. I think you want the
following...
# start ###################################
:0
* ^Subject:.*important Message From
{
:0Bf
* Here is that document you asked for
* don't show anyone else
* ^Content-.*: .*\.do[ct]
|formail -A "X-Spam-Reject: rc.viruses - Melissa Word"
}
:0
* ^X-Spam-Reject:
/var/mail/spam
# end ###################################
--
Walter Dnes <waltdnes(_at_)interlog(_dot_)com> procmail spamfilter
http://www.interlog.com/~waltdnes/spamdunk/spamdunk.htm
Why a fiscal conservative opposes Toronto 2008 OWE-lympics
http://www.interlog.com/~waltdnes/owe-lympics/owe-lympics.htm