Re: sieve does not seem to be working

2017-04-09 Thread Robert Moskowitz
Yassine, I believe I sent a 'solved' message. It was a permission problem in that .svbin was owned by root. I have my commands in the wrong order in my script. Robert On 04/09/2017 06:34 AM, chaouche yacine wrote: Hello Robert, You said that the script worked when you ran it with

Re: sieve does not seem to be working

2017-04-09 Thread chaouche yacine
Hello Robert, You said that the script worked when you ran it with sieve-test, proabably as root user, but not when you sent an e-mail with sendmail, which I guess would run it as the dovecot user (probably vmail as you said you changed the ownership of the e-mail to vmail:mail ?) You forgot

sieve does not seem to be working

2017-04-06 Thread Robert Moskowitz
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