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

master
andryyy 2019-12-21 16:22:18 +01:00
parent 5a0df09361
commit b822818cee
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
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"
]

View File

@ -372,6 +372,7 @@
"rsetting_no_selection": "Bitte eine Regel auswählen", "rsetting_no_selection": "Bitte eine Regel auswählen",
"rsettings_preset_1": "Alles außer DKIM und Ratelimits für authentifizierte Benutzer deaktivieren", "rsettings_preset_1": "Alles außer DKIM und Ratelimits für authentifizierte Benutzer deaktivieren",
"rsettings_preset_2": "Spam an Postmaster-Addressen nicht blockieren", "rsettings_preset_2": "Spam an Postmaster-Addressen nicht blockieren",
"rsettings_preset_3": "Nur einem oder vielen Absendern erlauben, eine Mailbox anzuschreiben (etwa interne Mailboxen)",
"rsettings_insert_preset": "Beispiel \"%s\" laden", "rsettings_insert_preset": "Beispiel \"%s\" laden",
"rsetting_add_rule": "Regel hinzufügen", "rsetting_add_rule": "Regel hinzufügen",
"admin_domains": "Domain-Zuweisungen", "admin_domains": "Domain-Zuweisungen",

View File

@ -378,6 +378,7 @@
"rsetting_no_selection": "Please select a rule", "rsetting_no_selection": "Please select a rule",
"rsettings_preset_1": "Disable all but DKIM and rate limit for authenticated users", "rsettings_preset_1": "Disable all but DKIM and rate limit for authenticated users",
"rsettings_preset_2": "Postmasters want spam", "rsettings_preset_2": "Postmasters want spam",
"rsettings_preset_3": "Only allow specific senders for a mailbox (i.e. usage as internal mailbox only)",
"rsettings_insert_preset": "Insert example preset \"%s\"", "rsettings_insert_preset": "Insert example preset \"%s\"",
"rsetting_add_rule": "Add rule", "rsetting_add_rule": "Add rule",
"queue_ays": "Please confirm you want to delete all items from the current queue.", "queue_ays": "Please confirm you want to delete all items from the current queue.",