[Mailman-Users] Regex for spam

James Nightly exim4debian at gmail.com
Thu Sep 18 16:21:39 CEST 2014


There used to be a nice set of regex for some common spam on the old
server that we had, but that crashed and I wasn't able to recover the
settings/regex. Would somebody be willing to share their regex?

If not, I wonder if this work if I add it to header_filter_rules:

ambien (?i)[a@/]+\\?.?m+.?[b8]+.?[i:1!\|]+.?[e3€]+.?n+\b
anal (?i)\banal\b
bulgary (?i)\b[b8].?[uv].?[li17\|].?[gq].?[a@/][\\]?r.?[yi1!:\|]?
cheapest pills (?i)cheapest\spills
cialis (?i)\bc.?[i1!:\|].?[a@/][\\]?.?[li17\|].?[i1!:\|].?[s235$]
credit (?i)\bc.?r.?[e3€].?d.?[i1!:\|].?[t\+]
discount (?i)\bd.?[i1!:\|].?[s235$].?c.?[oQ0].?[uv].?n.?[t\+]?
ejaculation (?i)ejaculation
enlargement (?i)enlargement
levitra \b[LlIi17\|].?[Ee3].?[Vv\\][/]?.?[Ii1!:\|].?[Tt\+].?[Rr].?[Aa@/]?[\\]?
(v nicht optional!)
money (?i)\bm.?[oQ0].?n.?[e3€].?y
mortgage \b[Mm].?[OoQ0].?[Rr].?[Tt\+].?[Ggq].?[Aa@/][\\]?.?[Ggq].?[Ee3€]?
natural weight loss (?i)(natural\s)?weight(\s)?loss
omega \b[OoQ0].?[Mm].?[Ee3€].?[Ggq].?[Aa@/][\\]?
online pharmacy (?i)online\spharmacy
penis (?i)\bp+.?[e3€]+.?n+.?[i1!:\|]+.?[s5$]+\b
pharmaceuticals (?i)pharmaceuticals
porno (?i)\bp.?[oQ0].?r.?n.?[oQ0]?
premature (?i)premature
prescription (?i)prescription
refinance \b[Rr].?[Ee3€].?[Ff].?[Ii1!:\|].?[Nn].?[Aa@/][\\]?.?[Nn].?[CcZz].?[Ee3€]?
rolex \b[Rr].?[OoQ0].?[LlIi17\|].?[Ee3€].?[Xx]
sex \b[Ss25$].?[Ee3€].?[Xx].?[Yy]?\b
soma [Ss25$].?[OoQ0].?[Mm].?[Aa]?\b oder \b[Ss25$].?[OoQ0].?[Mm].?[Aa/][\\]?\b
src=3D"cid: src=3D"cid:
src="cid: src="cid:
valium (?i)[v\\]+/?.?[a@/]+\\?.?[li17\|]+.?[il1!:\|]+.?[uv]+.?m+\b
xanax \b[Xx].?[Aa@/][\\]?.?[Nn].?[Aa@/][\\]?.?[Xx]?
X-Spam-Level: ******** X-Spam-Level:\s\*{8,30}
**** SPAM **** (?i)\*{1,6}spam\*{1,6}


More information about the Mailman-Users mailing list