[Dovecot] Sieve not working
Hello,
I installed dovecot 2.0.6 and pigeonhole 0.2.1 on my system, but I guess that sieve is not working, because netstat does not show that anything is listening to ports 2000 and 4190.
Regards Christoph
# 2.0.6 (601065674f74): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.6 auth_mechanisms = plain login disable_plaintext_auth = no first_valid_uid = 122 last_valid_uid = 122 mail_gid = vmail mail_location = mdbox:~/mdbox mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = scheme=MD5-CRYPT username_format=%Ln /etc/dovecot/users driver = passwd-file } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap lmtp service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imap { port = 0 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } ssl_cert =
On 11/7/2010 11:31 AM, Christoph Pleger wrote:
Hello,
I installed dovecot 2.0.6 and pigeonhole 0.2.1 on my system, but I guess that sieve is not working, because netstat does not show that anything is listening to ports 2000 and 4190. You mean that the Sieve protocol (ManageSieve) is not working.
protocols = imap lmtp
Add 'sieve' to this setting.
Regards,
Stephan.
Hello,
I installed dovecot 2.0.6 and pigeonhole 0.2.1 on my system, but I guess that sieve is not working, because netstat does not show that anything is listening to ports 2000 and 4190.
You mean that the Sieve protocol (ManageSieve) is not working.
protocols = imap lmtp
Add 'sieve' to this setting.
Hm, I thought that I had already done that by uncommenting the following line in /etc/dovecot/conf.d/20-managesieve.conf:
protocols = $protocols sieve
But now I see that this is overwritten in dovecot.conf, because I uncommented the line "#protocols = imap pop3 lmtp" in that file and explicitly set "protocols = imap lmtp" and that overwrites the setting in conf.d/20-managesieve.conf.
In my opinion, my problem is a direct result of a design error in the default dovecot.conf. This is an excerpt:
# Most of the actual configuration gets included below. The filenames are # first sorted by their ASCII value and parsed in that order. The 00-prefixes # in filenames are intended to make it easier to understand the ordering. !include conf.d/*.conf
# Protocols we want to be serving. #protocols = imap pop3 lmtp
This is an excerpt of conf.d/20-managesieve.conf:
# Uncomment to enable managesieve protocol: #protocols = $protocols sieve
Looking closely to this, it is obvious that uncommenting the protocols-lines in both files will not make managesieve available, because the protocols-line from dovecot.conf is evaluated after the protocols-line from conf.d/20-managesieve.conf.
I suggest to change the default dovecot.conf so that the files from conf.d/ are included at the end, not at the beginning.
Regards Christoph
participants (2)
-
Christoph Pleger
-
Stephan Bosch