ansible-mailserver-debian/mail_system/files/dovecot/sieve/after/spam-to-folder.sieve

10 lines
181 B
Sieve
Raw Normal View History

2019-09-19 10:43:17 +02:00
# THIS FILE IS CONTROLLED BY ANSIBLE - DO NOT CHANGE IN DEPLOYMENT!
require ["fileinto","mailbox"];
if header :contains "X-Spam" "Yes" {
2019-09-28 06:41:48 +02:00
fileinto :create "Junk";
2019-09-19 10:43:17 +02:00
stop;
}