On Mon, Jun 16, 2003 at 01:30:06PM -0600, Scott Wiersdorf wrote:
On Mon, Jun 16, 2003 at 01:10:33PM -0700, Glendon Gross wrote:
Does anyone have a generic recipe that will cause any e-mail with the word
"viagra"
in the subject or the content to be redirected to /dev/null?
Sorry, I missed the "or the content" part (I'm assuming you mean
message body). In that case:
:0
* 987654321^0 H ?? ^Subject:.*v(.)?[i1l](.)?a(.)?g(.)?r(.)?a
* 1^0 B ?? v(.)?[i1l](.)?a(.)?g(.)?r(.)?a
/dev/null
This won't find the string you're looking for in base64 (or other
types of) encoded messages.
Scott
--
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail