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

10 lines
181 B
Sieve
Raw Permalink Normal View History

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