r...@debian.org wrote:
On Fri, Jul 17, 2009 at 12:10:50PM -0600, Joel Johnson wrote:
On Sat, 18 Jul 2009 03:03:16 +0930, Ron <r...@debian.org> wrote:
The other thing that broke in my previous sieve script when updating
from cmu to the dovecot sieve is this rule:

if envelope :detail "To" ["virus", "banned"] {
        fileinto "virus";
        stop;
}

I don't really understand why yet, but with dovecot sieve that appears
to actually match every mail, whether they have a +virus extension in
the local part or not.

Changing the rule to this seems to work ok though:

if envelope :contains :localpart "To" ["+virus", "+banned"] {
        fileinto "virus";
        stop;
}

Not sure if it's an issue with envelope, :detail, or just my
misunderstanding of sieve right now, but since it's also a
'regression' from 1.1.16 with cmusieve, I figured I'd pass it
along early before it bites other people too.

Thanks!
Ron
What setting do you have for sieve_subaddress_sep in your config file, or
are you just keeping the default?

Initially that was left at the default, but setting it explicitly to
"sieve_subaddress_sep = +" shows the same behaviour.

This is a bug. Good catch!

Fixed:

http://hg.rename-it.nl/dovecot-libsieve/rev/d80b2a61c716

Added a test for this in the test suite as well.

All will be included in the next release.

Regards,

Stephan.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to