On Tue, 13 Jan 2004 10:44:35 -0800
Gary Funck said something about RE: added headers not always acknowledged.:
Above, that's a "delivering" recipe, not a "filtering" recipe. Try this:
:0fw:vs.lock
* !^X-Virus-Found:
| $HOME/bin/vs
:0:
* *X-Virus-Found: Yes
suspected-viruses
And this was already mentioned.
:0:
* ^X-Virus-Found: Yes
suspected-viruses
Also -- if you're scanning ALL inbound messages for viruses you may want to
remove the condition checking for the virus header before sending to the
scanner. If anyone ever decides the WANT to send a virus to you all they
have to do is add an "X-Virus-Found: No" header to the mail before they
send it to you and your scan would be bypassed completely.
In fact, you may want to invoke formmail to remove any X-Virus-Found
headers on all inbound mail. Someone else should point out the symtax, I
just finished a 1500 mile drive <grin>.
G
--
Gerald V. Livingston II
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail