๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/dovecot/templates/sieve-spam.j2

7 lines
154 B

2 years ago
require ["fileinto", "imap4flags", "mailbox"];
if header :contains "X-Spam" "Yes" {
fileinto :create "{{ dovecot_trash_name }}";
stop;
}