public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Dovecot] Revert autocrypt sieve before, fixes DeltaChat and closes #4230
d383c0ab
data/conf/dovecot/global_sieve_before | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
Diff
diff --git a/data/conf/dovecot/global_sieve_before b/data/conf/dovecot/global_sieve_before
index 003fc27f..3e79ca1d 100644
--- a/data/conf/dovecot/global_sieve_before
+++ b/data/conf/dovecot/global_sieve_before
@@ -1,10 +1,9 @@
# global_sieve_before script
# global_sieve_before -> user sieve_before (mailcow UI) -> user sieve_after (mailcow UI) -> global_sieve_after
-require ["imap4flags", "mailbox", "fileinto"];
+require ["mailbox", "fileinto"];
-if allof(header :contains ["Chat-Version"] [""],
- header :contains ["Auto-Submitted"] ["auto-replied"]) {
+if header :contains ["Chat-Version"] [""] {
if mailboxexists "DeltaChat" {
fileinto "DeltaChat";
} else {
@@ -12,9 +11,3 @@ if allof(header :contains ["Chat-Version"] [""],
}
stop;
}
-
-if allof(header :contains ["Chat-Version"] [""],
- header :contains ["Autocrypt"] [""]) {
- setflag "\\seen";
- stop;
-}