This commit is contained in:
PLANTROON 2023-09-14 00:39:56 +02:00 committed by GitHub
commit 82504a9d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,13 @@
# 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"]; require ["mailbox", "fileinto", "date", "editheader", "variables"];
if not exists "Date" {
if date :matches "received" "std11" "*" {
addheader :last "Date" "${1}";
}
}
if header :contains ["Chat-Version"] [""] { if header :contains ["Chat-Version"] [""] {
if mailboxexists "DeltaChat" { if mailboxexists "DeltaChat" {