diff --git a/dicos/22_rspamd.xml b/dicos/22_rspamd.xml
index a950635..2f3a56d 100644
--- a/dicos/22_rspamd.xml
+++ b/dicos/22_rspamd.xml
@@ -7,6 +7,8 @@
eole-rspamd-pkg
rspamd
+
+
@@ -19,13 +21,20 @@
Pourriel
+
+ non
+
non
rspamd
- rs_spam_box
+ antispam
+
+
+ non
+ whitelist
diff --git a/tmpl/domain_whitelist.map b/tmpl/domain_whitelist.map
new file mode 100644
index 0000000..9351acc
--- /dev/null
+++ b/tmpl/domain_whitelist.map
@@ -0,0 +1,4 @@
+%if %%activer_whitelist_domaine == 'oui'
+%%domaine_messagerie_etab
+i-%%domaine_messagerie_etab
+%end if
diff --git a/tmpl/multimap.conf b/tmpl/multimap.conf
new file mode 100644
index 0000000..9c253ee
--- /dev/null
+++ b/tmpl/multimap.conf
@@ -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