diff --git a/data/web/inc/presets/sieve/sieve_8.yml b/data/web/inc/presets/sieve/sieve_8.yml new file mode 100644 index 00000000..bd44a736 --- /dev/null +++ b/data/web/inc/presets/sieve/sieve_8.yml @@ -0,0 +1,18 @@ +headline: lang.sieve_preset_8 +content: | + require "fileinto"; + require "mailbox"; + require "variables"; + require "subaddress"; + require "envelope"; + require "duplicate"; + require "imap4flags"; + if header :matches "To" "*mail@domain.tld*" { + redirect "anothermail@anotherdomain.tld"; + setflag "\\seen"; /* Mark mail as read */ + fileInto "INBOX/SubFolder"; /* Move mail on subfolder after */ + } else { + # The rest goes into INBOX + # default is "implicit keep", we do it explicitly here + keep; + } \ No newline at end of file diff --git a/data/web/lang/lang.de-de.json b/data/web/lang/lang.de-de.json index ee3d225c..5d051615 100644 --- a/data/web/lang/lang.de-de.json +++ b/data/web/lang/lang.de-de.json @@ -857,7 +857,7 @@ "sieve_preset_5": "Auto-Responder (Vacation, Urlaub)", "sieve_preset_6": "E-Mails mit Nachricht abweisen", "sieve_preset_7": "Weiterleiten und behalten oder verwerfen", - "sieve_preset_8": "Nachricht verwerfen, wenn Absender und Alias-Ziel identisch sind.", + "sieve_preset_8": "E-Mail eines bestimmten Absenders umleiten, als gelesen markieren und in Unterordner sortieren", "sieve_preset_header": "Beispielinhalte zur Einsicht stehen nachstehend bereit. Siehe auch Wikipedia.", "sogo_visible": "Alias Sichtbarkeit in SOGo", "sogo_visible_n": "Alias in SOGo verbergen", diff --git a/data/web/lang/lang.en-gb.json b/data/web/lang/lang.en-gb.json index 63b6e80d..36eb4ab4 100644 --- a/data/web/lang/lang.en-gb.json +++ b/data/web/lang/lang.en-gb.json @@ -873,7 +873,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_8": "Redirect e-mail from a specific sender, mark as read and sort into subfolder", "sieve_preset_header": "Please see the example presets below. For more details see Wikipedia.", "sogo_visible": "Alias is visible in SOGo", "sogo_visible_n": "Hide alias in SOGo",