mailcow/data/conf/dovecot/sieve_after

13 lines
241 B
Plaintext
Raw Normal View History

2016-12-19 22:20:30 +08:00
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}";
}