procmail
[Top] [All Lists]

Recipe Optimization.

2004-03-03 13:08:42
I am considering using the following recipe to quarantine any message
with some usual domains in the body.

(note: * B ?? ()\/(4u ,...etc is on the same line)




:0
* B ??
()\/.*(4u|4you|foryou|offer|offers|offerz|med|meds|medz|ink|inks|inkz|rx|drug|drugs|drugz|marketing|mktng|mktg|viagra|hgh|loan|credit|rate)(=2e|.)(biz|bz|cl|ph|info|ws|to|ru|org|net|com)
 {
 LOG="Bodyspam: spamdomain $MATCH in the body of the message $NL"
 :0:
 $SPAM
}


Can anyone recommend a way to optimize this recipe?

So far testing in Regex coach produces the results I am looking for, not
sure if this the best approach.

Thank you.



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