mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-05 15:57:23 +01:00
move the sieve script configuration to tools/mail.py
This commit is contained in:
8
conf/dovecot_sieve.txt
Normal file
8
conf/dovecot_sieve.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
require ["regex", "fileinto", "imap4flags"];
|
||||
|
||||
if allof (header :regex "X-Spam-Status" "^Yes") {
|
||||
setflag "\\\\Seen";
|
||||
fileinto "Spam";
|
||||
stop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user