Hope this list is the right place for a question about dovecot sieve. I have some rules of which some are working and some are not. I cannot understand why two rules wont work.
}elsif header :comparator "i;ascii-casemap" :contains "from" "EMAILADDRESS" { fileinto "Computer &- Security.Foren &- Maillists.Synology.Forum"; stop; } elsif header :comparator "i;ascii-casemap" :contains "from" "EMAILADDRESS" { fileinto "Computer &- Security.Foren &- Maillists.PHP-Resource"; stop; } elsif header :comparator "i;ascii-casemap" :contains "subject" "*****SPAM*****" { fileinto "Junk E-mail"; stop; } else { keep; }
The first one works as expected. But the second and third one don't work and emails matching those rules remain in INBOX. There are not errors in the errorfile in users home directory. The only thing I changed was to move the Folder "Computer &- Security" and changed the fileinto destinations accordingly. The folder "Junk E-mail" was not moved but the rule that worked before is not working anymore.
I have no clue why only part of the rules work and where I could check what the problem coud be. Thanks for any help/hints Cheers
tobi