mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
14 lines
337 B
Plaintext
14 lines
337 B
Plaintext
# global_sieve_before script
|
|
# 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;
|
|
}
|