[Dovecot] Dovecot Sieve some rules not working
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 10 Dec 2009, tobi wrote:
I have no clue why only part of the rules work and where I could check what the problem coud be.
First, I'd check that you do not use the "-n" option of Dovecot deliver (http://wiki.dovecot.org/LDA) - you use it, BTW?
Otherwise, I guess, you must post examples, which mails are not filed into the correct folders.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSyIL0HWSIuGy1ktrAQIxuwf/cNKfBPB6gL+2Ffu8vGk9u+H4kUMEnNWQ eHRe88dnlEbIknUdGzFhsxH8F0kirBXwckFzC/ZT8jBgGCTpqUkf++R2Z0DSYhw9 jyMwP7CJf2nRqAnmlmGtbkfrtjMHU1Nb8epxKSvYULKCC+n3Lclw8a16IVkZZuUF S+fq37cfGoUw8FOj3FNV+c4atMjITRjsoiw23yYiky9FxQNu9tgtUyI1b+zGaeYL QhuKNDf2BwMVgbFCgtyqr2gi6Wu/hDuqR9RNbiB7FJNl02NXkxKRE9N1cdy3EHEd 2eSyf+oN06O8fMVtSP1KneXsEvedO11Sgr044t1wtMIPP2wa5p0jBA== =X2Fa -----END PGP SIGNATURE-----
participants (2)
-
Steffen Kaiser
-
tobi