Some of my custom rules

Problems/questions regarding the MailCleaner configuration

Moderators: FlorianB, Pascal, bourgeois, mentor

cglmicro
Posts: 257
Joined: Thu Mar 07, 2013 2:12 am
How did you hear about Mailcleaner: google

Some of my custom rules

Postby cglmicro » Sun Sep 18, 2016 12:49 pm

Here is some of my custom rules, what are yours ?

Code: Select all

body __LOCAL_GIRL_1 /\bhello|hi|hola|welcome|hey|heyo|howdy-do|regards|good\b/i
body __LOCAL_GIRL_2 /\bgirl|lady|lass|woman|puss|person|miss|madam|baby|babe|female|person|single|mistress\b/i
body __LOCAL_GIRL_3 /\blook|looking|search|searching|seeking|friend|lover|find|talk|dating|loving|loved|love\b/i
body __LOCAL_GIRL_4 /\bphoto|photos|foto|fotos|picture|pictures|pics|pic|reply|answer|conversation|relationship|romantic|reply|letter\b/i
meta LOCAL_GIRL (( __LOCAL_GIRL_1 + __LOCAL_GIRL_2 + __LOCAL_GIRL_3 + __LOCAL_GIRL_4) > 3)
describe LOCAL_GIRL It look like a girl is looking for love and propose to send photos
score LOCAL_GIRL 4.0
#######################
body __LOCAL_RULE_HT_1 /\bcustom\b/i
body __LOCAL_RULE_HT_2 /\bvisiting\b/i
body __LOCAL_RULE_HT_3 /\bjackets|shirt|suit\b/i
body __LOCAL_RULE_HT_4 /\bhong kong\b/i
meta LOCAL_HIRA_TAILOR (( __LOCAL_RULE_HT_1 + __LOCAL_RULE_HT_2 + __LOCAL_RULE_HT_3 + __LOCAL_RULE_HT_4) > 3)
describe LOCAL_HIRA_TAILOR Hira's tailor visiting your city
score LOCAL_HIRA_TAILOR 5.0
#######################
body __LOCAL_SEO_1 /\bSEO|S\.E\.O\.|website design|consultant|design|designing|redesign|redesigning|digital services\b/i
body __LOCAL_SEO_2 /\boptimization|top|1st|first|page one|savings|india|visible|ROI|commerce\b/i
body __LOCAL_SEO_3 /\bgoogle|yahoo|business|conversion|improve|development\b/i
meta LOCAL_SEO (( __LOCAL_SEO_1 + __LOCAL_SEO_2 + __LOCAL_SEO_3) >= 3)
describe LOCAL_SEO It look like a proposition to be google first page and or redesign of your site
score LOCAL_SEO 6.0
#######################
body __LOCAL_COMPUFIND_1 /\b707|6618\b/i
body __LOCAL_COMPUFIND_2 /\bvillage\b/i
body __LOCAL_COMPUFIND_3 /\bmorin|heights\b/i
meta LOCAL_COMPUFIND (( __LOCAL_COMPUFIND_1 + __LOCAL_COMPUFIND_2 + __LOCAL_COMPUFIND_3) >= 3)
describe LOCAL_COMPUFIND This email come from Compufind, the worst spammer in Quebec
score LOCAL_COMPUFIND 6.0
#######################
body __LOCAL_SOLAR_1 /\bsolar\b/i
body __LOCAL_SOLAR_2 /\bpanel|panels\b/i
body __LOCAL_SOLAR_3 /\boff-grid|battery|batteries\b/i
meta LOCAL_SOLAR (( __LOCAL_SOLAR_1 + __LOCAL_SOLAR_2 + __LOCAL_SOLAR_3) > 3)
describe LOCAL_SOLAR Speaking about solar panel and free energy scam
score LOCAL_SOLAR 3.0
#######################
body __LOCAL_PORN2016_1 /\bvideo out|out the video|video is here|video here|check it out|to see it|see this video|look here|hd check out|over the floor\b/i
body __LOCAL_PORN2016_2 /\btesting123\b/i
meta LOCAL_PORN2016 (( __LOCAL_PORN2016_1 + __LOCAL_PORN2016_2) >= 1)
describe LOCAL_PORN2016 Vague de pron avec des liens video
score LOCAL_PORN2016 3.5
#######################
body __LOCAL_BMO_1 /\bbmo|bmob|banque\b/i
body __LOCAL_BMO_2 /\bdésactiver|desactiver|sécurité|securite|suspension\b/i
body __LOCAL_BMO_3 /\bhref\b/i
meta LOCAL_BMO (( __LOCAL_BMO_1 + __LOCAL_BMO_2 + __LOCAL_BMO_3) >= 3)
describe LOCAL_BMO Vague de faux courriels de banque de montreal
score LOCAL_BMO 3.5
#######################
# this way, invalid rdns are not rejected at smtp level, but are put in quarantine
# this rule can cause some rejection because so many servers are misconfigured, you better start with a score of 1, and increase it from weeks to weeks
header LOCAL_HEADER_RDNS       ALL =~ /invalid reverse DNS/i
describe LOCAL_HEADER_RDNS     Header contains invalid reverse DNS:
score LOCAL_HEADER_RDNS        4.5
#######################
header LOCAL_HEADER_NO_SPF     ALL =~ /SPF: none/i
describe LOCAL_HEADER_NO_SPF   Header contains SPF none:
score LOCAL_HEADER_NO_SPF      1.5
#######################
header LOCAL_SEXXPILL_SUBJECT   Subject =~ /\bpill|pills|sexx|\$ex|sxx|beg|f\@ck|h0tter|go wild\b/i
describe LOCAL_SEXXPILL_SUBJECT Subject contains sex pill products and begging
score LOCAL_SEXXPILL_SUBJECT    3.0
FlorianB
Posts: 258
Joined: Wed Apr 01, 2015 2:27 pm
How did you hear about Mailcleaner: job

Re: Some of my custom rules

Postby FlorianB » Sat Oct 01, 2016 1:36 pm

I' ll post some in some days, have to be sure they can be published ;-)

Return to “Configuration”

Who is online

Users browsing this forum: No registered users and 3 guests