mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-31 16:07:09 +00:00
Merge pull request #7423 from mailcow/fix/7418
[Dovecot] Remove legacy DeltaChat auto-filing sieve rule
This commit is contained in:
@@ -1,13 +1,3 @@
|
|||||||
# global_sieve_before script
|
# global_sieve_before script
|
||||||
# global_sieve_before -> user sieve_before (mailcow UI) -> user sieve_after (mailcow UI) -> global_sieve_after
|
# global_sieve_before -> user sieve_before (mailcow UI) -> user sieve_after (mailcow UI) -> global_sieve_after
|
||||||
|
|
||||||
require ["mailbox", "fileinto"];
|
|
||||||
|
|
||||||
if header :contains ["Chat-Version"] [""] {
|
|
||||||
if mailboxexists "DeltaChat" {
|
|
||||||
fileinto "DeltaChat";
|
|
||||||
} else {
|
|
||||||
fileinto :create "DeltaChat";
|
|
||||||
}
|
|
||||||
stop;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user