1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/conf/dovecot/sieve_after

13 lines
285 B
Plaintext
Raw Normal View History

2016-12-19 16:20:30 +02:00
require "fileinto";
require "mailbox";
require "variables";
require "subaddress";
require "envelope";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}
2017-01-09 12:39:27 +02:00
if allof (envelope :detail :matches "to" "*", header :contains "X-Moo-Tag" "YES") {
2016-12-19 16:20:30 +02:00
fileinto :create "INBOX/${1}";
}