[Web] Add sieve template, thanks to @Programmierus

master
andryyy 2020-06-19 22:06:20 +02:00
parent 79dd4fac9c
commit 1d8f08ef15
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
headline: lang.sieve_preset_8
content: |
require "envelope";
require "variables";
if allof (
envelope :all :matches "to" "*",
not header :contains "To" "${1}",
address :is "From" "${1}"
) {
discard;
}

View File

@ -688,6 +688,7 @@
"sieve_preset_5": "Auto responder (vacation)",
"sieve_preset_6": "Reject mail with reponse",
"sieve_preset_7": "Redirect and keep/drop",
"sieve_preset_8": "Discard message sent to an alias address the sender is part of",
"sieve_preset_header": "Please see the example presets below. For more details see <a href=\"https://en.wikipedia.org/wiki/Sieve_(mail_filtering_language)\" target=\"_blank\">Wikipedia</a>.",
"sogo_allow_admin_hint": "Administrative SOGo logins are only available for mailboxes with an existing SOGo profile. A user must have been logged in to SOGo at least once.",
"sogo_visible": "Alias is visible in SOGo",