my local.conf has:
# 90-sieve.conf
plugin {
sieve_before = /home/sieve/globalfilter.sieve
}
and cat /home/sieve/globalfilter.sieve
require ["fileinto","mailbox"];
if anyof
(
header :contains "X-Spam-Flag" "YES",
header :contains "subject" "***SPAM***"
)
{
fileinto :create "Spam";
}
There IS a globalfilter.svbin
when I tried:
sendmail -i testit3@test.htt-consult.com < sample-spam-GTUBE-junk.txt
amavis is flagging it as ***Spam***
but it stays in inbox. So I tried:
sieve-test -e -l /home/vmail/test.htt-consult.com/testit3/
/home/sieve/globalfilter.sieve
/home/vmail/test.htt-consult.com/testit3/cur/1491512409.M371278P6513.z9m9z.test.htt-consult.com\,S\=1823\,W\=1868\:2\,
info: msgid=