mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-15 09:00:26 +08:00
Add default sieve_after handler
This commit is contained in:
parent
60fca24d1b
commit
7a2abe6ada
12
data/conf/dovecot/sieve_after
Normal file
12
data/conf/dovecot/sieve_after
Normal file
@ -0,0 +1,12 @@
|
||||
require "fileinto";
|
||||
require "mailbox";
|
||||
require "variables";
|
||||
require "subaddress";
|
||||
require "envelope";
|
||||
|
||||
if header :contains "X-Spam-Flag" "YES" {
|
||||
fileinto "Junk";
|
||||
}
|
||||
if envelope :detail :matches "to" "*" {
|
||||
fileinto :create "INBOX/${1}";
|
||||
}
|
Loading…
Reference in New Issue
Block a user