[Web] Add new preset for Rspamd settings map: Only allow specific senders to send to a mailbox

This commit is contained in:
andryyy
2019-12-21 16:22:18 +01:00
parent 5a0df09361
commit b822818cee
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
headline: lang.rsettings_preset_3
content: |
priority = 10;
rcpt = "internal-only@domain.tld";
# Multiple allowed hosts
# from = "/^((?!(.*@allowed-domain\.tld|.*@other-allowed-domain\.tld)).)*$/";
from = "/^((?!.*@domain\.tld).)*$/";
apply "default" {
MAILCOW_BLACK = 9999.0;
}
symbols [
"MAILCOW_BLACK"
]