[Dovecot] Error in Sieve + Dovecot 1.1.3
Hi,
when I upgrade my dovecot to lastest version (from 1.1.1 to 1.1.3) and sieve plugins I discover a little problem in deliver (LDA) or in Sieve interface.
With version 1.1.1 I have this in my dovecot.conf (and works fine)
protocol lda { postmaster_address = root@mct.gov.br hostname = faraday.mct.gov.br mail_debug = no mail_plugins = cmusieve quota sieve_global_dir = /etc/dovecot/scriptssieve/ sieve = /home/%u/.dovecot.sieve }
When I upgrade, the deliver/LDA stop to work and show me this message (in logs): deliver(acassaro): cmusieve: /home/%u/.dovecot.sieve doesn't exist
So, when I change the "sieve" parameter, everything works fine again.
protocol lda { postmaster_address = root@mct.gov.br hostname = faraday.mct.gov.br mail_debug = no mail_plugins = cmusieve quota sieve_global_dir = /etc/dovecot/scriptssieve/ sieve = ~/.dovecot.sieve }
So, I don't know if this error is on LDA or Sieve patch (probably in sieve patch)
Versions: dovecot-1.1.3 dovecot-sieve-1.1.5 dovecot-1.1-managesieve-0.10.3 dovecot-1.1.2-managesieve-0.10.3.diff
Regards.
Allan Cassaro wrote:
With version 1.1.1 I have this in my dovecot.conf (and works fine) [..] sieve = /home/%u/.dovecot.sieve <snip>
Question: why does that path need to be there?
http://wiki.dovecot.org/LDA/Sieve "By default Dovecot looks for user's Sieve script from .dovecot.sieve file in user's home directory. This requires that the home directory is set for the user. "
What is the contents of your mail_location path?
-- Kind Regards, :: http://www.cjbuckley.net/ Chris Buckley :: http://photos.cjbuckley.net/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 8 Sep 2008, Christopher J. Buckley wrote:
With version 1.1.1 I have this in my dovecot.conf (and works fine) [..]
deliver(acassaro): cmusieve: /home/%u/.dovecot.sieve doesn't exist
sieve = /home/%u/.dovecot.sieve <snip>
Question: why does that path need to be there?
Maybe it is not the question of "need", I sometimes write default settings in conf files, too, just in case the default changes over time or I have the reminder that I explicitly want to use the default setting.
The error message "/home/%u/.dovecot.sieve" would indicate, that "%u" is not expanded, is it?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIxhp4VJMDrex4hCIRAl5uAJ9eT2NqwSB491jfoJMLqAYh1TqEDgCgj0y6 CW+9TiTuMnA0bRP9HqZLWiY= =LWIR -----END PGP SIGNATURE-----
On Mon, 2008-09-08 at 15:45 -0300, Allan Cassaro wrote:
sieve = /home/%u/.dovecot.sieve }
When I upgrade, the deliver/LDA stop to work and show me this message (in logs): deliver(acassaro): cmusieve: /home/%u/.dovecot.sieve doesn't exist
So, when I change the "sieve" parameter, everything works fine again.
Hmm. If it ever worked, I think it was only by accident. It didn't work with v1.0 in any case and I don't think I want to change the behavior anymore. The correct location for the "sieve" setting is in plugin section (as http://wiki.dovecot.org/LDA/Sieve specifies).
participants (4)
-
Allan Cassaro
-
Christopher J. Buckley
-
Steffen Kaiser
-
Timo Sirainen