Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
informatique:reseau:messagerie:postfix:body_header_checks [2010/03/08 13:41] – Reprise ancien Wiki nico | informatique:reseau:messagerie:postfix:body_header_checks [2012/02/03 14:32] (Version actuelle) – bn8 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Body & Header Checks ====== | ||
+ | |||
+ | ** Filtrage personnalisé avec Postfix** | ||
+ | |||
+ | Il est possible d' | ||
+ | |||
+ | **Header Check** | ||
+ | |||
+ | __Dans le main.cf on rajoute la ligne suivante :__ | ||
+ | |||
+ | header_checks = regexp:/ | ||
+ | |||
+ | __Puis on remplis notre fichier header_check.cf avec ce genre de règles :__ | ||
+ | |||
+ | /^Subject: .*V? | ||
+ | /^Subject: .*V?? | ||
+ | /^Subject: .*casino/ | ||
+ | /^Subject: .*Casino/ | ||
+ | /^Subject: .*climaxes/ | ||
+ | /^Subject: .*erection/ | ||
+ | /^Subject: .*partouche/ | ||
+ | /^From: .*Casino/ | ||
+ | /^From: .*casino/ | ||
+ | /^From: .*gambling/ | ||
+ | /^From: .*king/ | ||
+ | |||
+ | |||
**Body Check** | **Body Check** | ||
- | Dans le main.cf on rajoute la ligne suivante : | + | __Dans |
+ | |||
+ | body_checks = regexp:/ | ||
+ | |||
+ | On récupère la blacklist sur : http:// | ||
- | '' | + | On transforme le fichier base de données lisible par postfix |
+ | postmap body_check | ||
- | ''/ | + | Un fichier body_check.db est créé |
- | /^Subject: .*V?? | + | |
- | /^Subject: .*casino/ | + | |
- | /^Subject: .*Casino/ | + | |
- | /^Subject: .*climaxes/ | + | |
- | /^Subject: .*erection/ | + | |
- | /^Subject: .*partouche/ | + | |
- | /^From: .*Casino/ | + | |
- | /^From: .*casino/ | + | |
- | /^From: .*gambling/ | + | |
- | /^From: .*king/ | + | |