[Web] Add new preset for Rspamd settings map: Only allow specific senders to send to a mailbox
This commit is contained in:
13
data/web/inc/presets/rspamd/preset_3.yml
Normal file
13
data/web/inc/presets/rspamd/preset_3.yml
Normal 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"
|
||||
]
|
Reference in New Issue
Block a user