Support de la whitelist pour le domaine local
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
This commit is contained in:
4
tmpl/domain_whitelist.map
Normal file
4
tmpl/domain_whitelist.map
Normal file
@ -0,0 +1,4 @@
|
||||
%if %%activer_whitelist_domaine == 'oui'
|
||||
%%domaine_messagerie_etab
|
||||
i-%%domaine_messagerie_etab
|
||||
%end if
|
9
tmpl/multimap.conf
Normal file
9
tmpl/multimap.conf
Normal file
@ -0,0 +1,9 @@
|
||||
%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
|
Reference in New Issue
Block a user