Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
tutoriaux:install-email-server-part-7 [2022/08/31 13:13] – ↷ Nom de la page changé de tutoriaux:install-email-server-part-8 à tutoriaux:install-email-server-part-7 frater | tutoriaux:install-email-server:install-email-server-part-7 [2023/04/13 21:30] – frater | ||
---|---|---|---|
Ligne 12: | Ligne 12: | ||
Postfix will check all inbound emails when any of the above parameters is being used. Each parameter points to a lookup table containing regular expression patterns and actions. The patterns are compared to strings within email messages (header and body). If Postfix finds a match, the specified action is executed. Header and body checks are done by the Postfix '' | Postfix will check all inbound emails when any of the above parameters is being used. Each parameter points to a lookup table containing regular expression patterns and actions. The patterns are compared to strings within email messages (header and body). If Postfix finds a match, the specified action is executed. Header and body checks are done by the Postfix '' | ||
+ | |||
+ | <WRAP center round tip> | ||
+ | when checking with those parameters, you have 2 main options: | ||
+ | |||
+ | |||
+ | * DISCARD : appear to accept the message, but the message will be silently discarded | ||
+ | * REJECT | ||
+ | |||
+ | </ | ||
+ | |||
There are mainly two types of regular expressions that can be used by Postfix. | There are mainly two types of regular expressions that can be used by Postfix. | ||
Ligne 26: | Ligne 36: | ||
<code bash> | <code bash> | ||
- | {{ :tutoriaux:pasted:20220830-135305.png |}} | + | {{ tutoriaux:debian-email:debian-postconf.png |}} |
==== Header Checks ==== | ==== Header Checks ==== | ||
Ligne 136: | Ligne 146: | ||
==== Install SpamAssassin ==== | ==== Install SpamAssassin ==== | ||
- | < | + | <WRAP round info> |
If you used iRedMail to set up your mail server, then SpamAssassin is already installed alongside Amavis, which can read SpamAssassin rules. You don’t need to follow the instructions in this section. | If you used iRedMail to set up your mail server, then SpamAssassin is already installed alongside Amavis, which can read SpamAssassin rules. You don’t need to follow the instructions in this section. | ||
</ | </ | ||
Ligne 171: | Ligne 181: | ||
</ | </ | ||
- | If you have configured [[tutoriaux: | + | If you have configured [[tutoriaux: |
< | < | ||
Ligne 203: | Ligne 213: | ||
<code bash> | <code bash> | ||
- | < | + | <WRAP round tip> |
iRedMail users need to start the SpamAssassin service in order to use '' | iRedMail users need to start the SpamAssassin service in order to use '' | ||
</ | </ | ||
Ligne 313: | Ligne 323: | ||
</ | </ | ||
- | If you have configured [[tutoriaux: | + | If you have configured [[tutoriaux: |
< | < | ||
Ligne 433: | Ligne 443: | ||
==== Move Spam into the Junk Folder ==== | ==== Move Spam into the Junk Folder ==== | ||
- | < | + | <WRAP round important> |
iRedMail has this configured out-of-the-box. | iRedMail has this configured out-of-the-box. | ||
</ | </ |