procmail
[Top] [All Lists]

Re: truncate

2003-06-16 14:33:12
On Mon, 16 Jun 2003 13:10:33 -0700, Glendon Gross <gross(_at_)xinetd(_dot_)com>
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?

Thanks in advance,

Glendon Gross


Make sure that you absolutely don't receive legitimate emails with word
(medical research, ..etc), and then you can use this.

For subject line.

:0
* ^Subject:.*(viagra)
 /dev/null


For body.

:0
* B ?? ()\/(viagra)
 /dev/null



Although I don't recommend /dev/null but that should do it.



_______________________________________________
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>