[Dovecot] Bug#570764: dovecot-common: sieve should allow Return-path header for address test

Marco Nenciarini mnencia at debian.org
Sun Feb 21 14:05:49 EET 2010


package dovecot-common
forward 570764 dovecot at dovecot.org
thanks

Martin Schwenke ha scritto:
> Package: dovecot-common
> Version: 1:1.2.10-1
> Severity: normal
> 
> 
> I attempt to compile the following sieve script...
> 
> martins at bilbo:~/tmp$ cat test.sieve 
> if address :is "Return-path" "owner-cipe-l at inka.de" {
> 	keep;
> }
> 
> [Yes, it is useless - a minimal example to illustrate the bug.  :-) ]
> 
> ... and I get the following error:
> 
> martins at bilbo:~/tmp$ sievec test.sieve
> test: line 1: error: specified header 'Return-path' is not allowed for the address test.
> test: error: validation failed.
> Error: failed to compile sieve script 'test.sieve'
> 
> This test is included in an example in the Dovecot sieve documentation at:
> 
>   http://wiki.dovecot.org/LDA/Sieve#Mail_filtering_by_various_headers
> 
> That seems to suggest that it should work!
> 
> peace & happiness,
> martin
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26-2-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.112             add and remove users and groups
> ii  libbz2-1.0             1.0.5-4           high-quality block-sorting file co
> ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
> ii  libcomerr2             1.41.9-1          common error description library
> ii  libdb4.8               4.8.26-1          Berkeley v4.8 Database Libraries [
> ii  libgssapi-krb5-2       1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - k
> ii  libk5crypto3           1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - C
> ii  libkrb5-3              1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries
> ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
> ii  libmysqlclient16       5.1.41-3          MySQL database client library
> ii  libpam-runtime         1.1.1-1           Runtime support for the PAM librar
> ii  libpam0g               1.1.1-1           Pluggable Authentication Modules l
> ii  libpq5                 8.4.2-2           PostgreSQL C client library
> ii  libsqlite3-0           3.6.22-1          SQLite 3 shared library
> ii  libssl0.9.8            0.9.8k-8          SSL shared libraries
> ii  openssl                0.9.8k-8          Secure Socket Layer (SSL) binary a
> ii  ucf                    3.0025            Update Configuration File: preserv
> ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime
> 
> dovecot-common recommends no packages.
> 
> Versions of packages dovecot-common suggests:
> ii  ntp                     1:4.2.4p8+dfsg-1 Network Time Protocol daemon and u
> 
> -- no debconf information
> 
> 


This bug happen with latest version of sieve patches applied on dovecot
1.2.10.

Regards,
Marco

-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnencia at prato.linux.it | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20100221/5cbf43ef/attachment.bin 


More information about the dovecot mailing list