paulbsd-salt/states/dovecot/templates/globalsieverc.j2

9 lines
217 B
Plaintext
Raw Normal View History

2023-10-10 09:06:30 +02:00
{%- from "dovecot/map.jinja" import dovecot with context -%}
require ["fileinto"];
# Move spam to spam folder
if anyof (header :contains "X-Spam-Flag" "YES", header :is "X-Spam" "Yes") {
fileinto "Junk";
stop;
}