{%- 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; }