procmail
[Top] [All Lists]

Re: SPAM with a blank (empty) header

2000-11-01 18:04:30
Andrew asked,

| My "favorite" spammers have started sending their trash with empty "To:"
| headers.  Is there a way to write a procmail rule to delete such mail?

 :0: # brackets enclose space and tab
 * ^To:[        ]*$
 spambox

If you really are cocksure that only unwanted mail will be like that, drop
the second colon and file the messages in /dev/null.

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