diff --git a/data/web/inc/presets/rspamd/preset_3.yml b/data/web/inc/presets/rspamd/preset_3.yml new file mode 100644 index 00000000..37a81d01 --- /dev/null +++ b/data/web/inc/presets/rspamd/preset_3.yml @@ -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" + ] \ No newline at end of file diff --git a/data/web/lang/lang.de.json b/data/web/lang/lang.de.json index aa2081d8..ad47c322 100644 --- a/data/web/lang/lang.de.json +++ b/data/web/lang/lang.de.json @@ -372,6 +372,7 @@ "rsetting_no_selection": "Bitte eine Regel auswählen", "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_3": "Nur einem oder vielen Absendern erlauben, eine Mailbox anzuschreiben (etwa interne Mailboxen)", "rsettings_insert_preset": "Beispiel \"%s\" laden", "rsetting_add_rule": "Regel hinzufügen", "admin_domains": "Domain-Zuweisungen", diff --git a/data/web/lang/lang.en.json b/data/web/lang/lang.en.json index 23b18691..312273d1 100644 --- a/data/web/lang/lang.en.json +++ b/data/web/lang/lang.en.json @@ -378,6 +378,7 @@ "rsetting_no_selection": "Please select a rule", "rsettings_preset_1": "Disable all but DKIM and rate limit for authenticated users", "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\"", "rsetting_add_rule": "Add rule", "queue_ays": "Please confirm you want to delete all items from the current queue.",