On peut activer la whitelist automatique pour le domaine local ce qui fait ques les mails qui ont un "from" dans le domaine local ne sont pas filtrés et sont automatiquement accpetés
10 lines
312 B
Plaintext
10 lines
312 B
Plaintext
%if %%activer_whitelist_domaine == 'oui'
|
|
sender_from_domain_whitelist {
|
|
type = "from";
|
|
filter = "email:domain";
|
|
map = "file:///etc/rspamd/map/domain_whitelist.map";
|
|
symbol = "SENDER_FROM_DOMAIN_WHITELIST";
|
|
action = "accept"; # Prefilter mode
|
|
}
|
|
%end if
|