docker-mailserver/target/dovecot/sieve/before/spam.sieve
youtous 92414b7eba
sieve after/before use folder instead of individual listing
Loading sieve scripts using a directory scheme permits to handle multi scripts wtihout defining individual sieve_before/sieve_after
2020-05-04 00:27:29 +02:00

5 lines
85 B
Sieve

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}