On Mon, Sep 22, 2003 at 11:08:39AM +0200, [EMAIL PROTECTED] wrote: > On Mon, 22 Sep 2003, Olav Lavell wrote: > > > If your internet provider lets you run procmail before getting the mail > > from their server, or if you run procmail yourself, the following recipe > > (to be put in your ~/.procmailrc or /etc/procmailrc) will effectively > > drop all swen-related stuff to the waste basket. I think it's a clever > > one, no false positives yet and I'm swen-free almost a day now. Thanks > > to the anonymous who posted this where I could snag it. > > Credits to go Victor Duchovni. He posted it on the postfix-users list > after some experiments with body_checks. It does do a very good job > stopping these mails indeed.
It has the merit to be compact but the inconvenient to read the body. I use the followings procmail rules: :0: *> 100000 *^subject: (undeliverable |undelivered |returned )*(mail|message)(:* (returned to (mail|send)er|user unknown))* swen-junk :0: *> 100000 *^subject: (new(est)* |latest |last |current )*(net(work)* |microsoft |internet )*(critical |security )*(pack|patch|update|upgrade) swen-junk :0: *> 100000 *^subject: (abort|bug|error|failure)* *(advice|announcement|letter|message|notice|report) swen-junk This catch all swen mails except those with no subject. It would be easy to add them (*^Subject: *$) but I let them to spamassassin because I want to avoid false positive (I will try the body check for them). Of course my size test could be improved. Christophe > > Grx hdV > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Christophe Barbé <[EMAIL PROTECTED]> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E People that hate cats will come back as mice in their next life. --Faith Resnick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]