File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1897,6 +1897,7 @@ public function configure_rspamd() {
18971897 'neural_group.conf ' ,
18981898 'users.conf ' ,
18991899 'groups.conf ' ,
1900+ 'multimap.conf ' ,
19001901 );
19011902 foreach ($ local_d as $ f ) {
19021903 if (file_exists ($ conf ['ispconfig_install_dir ' ]."/server/conf-custom/install/rspamd_ $ {f}.master " )) {
Original file line number Diff line number Diff line change 1+ # from https://rspamd.com/doc/configuration/selectors.html
2+ INVALUEMENT_SENDGRID_ID {
3+ type = "selector";
4+ selector = 'header("X-SG-EID").id;from("smtp","orig").regexp("/^<?bounces\+(\d+)\-[^@]+@/i").last';
5+ map = "https://www.invaluement.com/spdata/sendgrid-id-dnsbl.txt";
6+ score = 6.0;
7+ }
8+
9+ INVALUEMENT_SENDGRID_DOMAIN {
10+ type = "selector";
11+ selector = 'header("X-SG-EID").id;from("smtp","orig"):domain.get_tld';
12+ map = "https://www.invaluement.com/spdata/sendgrid-envelopefromdomain-dnsbl.txt";
13+ score = 6.0;
14+ }
15+
You can’t perform that action at this time.
0 commit comments