Package: dovecot-common
Version: 1:1.2.1-1
Severity: normal

Hi,

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


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dovecot-common depends on:
ii  adduser                3.110             add and remove users and groups
ii  libbz2-1.0             1.0.5-3           high-quality block-sorting file co
ii  libc6                  2.9-20            GNU C Library: Shared libraries
ii  libcomerr2             1.41.8-1          common error description library
ii  libdb4.7               4.7.25-7          Berkeley v4.7 Database Libraries [
ii  libgssapi-krb5-2       1.7dfsg~beta3-1   MIT Kerberos runtime libraries - k
ii  libk5crypto3           1.7dfsg~beta3-1   MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.7dfsg~beta3-1   MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.15-1.1        OpenLDAP libraries
ii  libmysqlclient15off    5.0.81-1          MySQL database client library
ii  libpam-runtime         1.0.1-9           Runtime support for the PAM librar
ii  libpam0g               1.0.1-9           Pluggable Authentication Modules l
ii  libpq5                 8.4.0-2           PostgreSQL C client library
ii  libsqlite3-0           3.6.16-1          SQLite 3 shared library
ii  libssl0.9.8            0.9.8k-3          SSL shared libraries
ii  openssl                0.9.8k-3          Secure Socket Layer (SSL) binary a
ii  ucf                    3.0018            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime



-- 
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