[Dovecot] xi.rename-it.nl/debian/ dovecot-2.0 sieve problem
Hi,
i used to use deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main
to update dovecot 1.2 with debian lenny. I used the convert script to change
my configuration file. Everything works fine but sieve does not work anymore.
There is no error in the logs but dovecot simply ignores any filter.
I checked the documentation/configuration twice and had still no success. Maybe, this is a known/unknown bug or any suggestions?
Best regards Martin Rozgonski
On 02/10/2011 05:01 PM Martin Rozgonski wrote:
Hi,
i used to use deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main
to update dovecot 1.2 with debian lenny. I used the convert script to change my configuration file. Everything works fine but sieve does not work anymore. There is no error in the logs but dovecot simply ignores any filter.I checked the documentation/configuration twice and had still no success. Maybe, this is a known/unknown bug or any suggestions?
Best regards Martin Rozgonski
Enable mail_debug and check your log files. Please provide doveconf -n output, if you cant find the 'problem' in your logs.
Regards, Pascal
The trapper recommends today: decade.1104117@localdomain.org
Thank you. I'll check the debug logs again tomorrow and post the results plus the dovecot -n output soon.
Best Regards Martin Rozgonski
Am 10.02.2011 um 17:05 schrieb Pascal Volk:
On 02/10/2011 05:01 PM Martin Rozgonski wrote:
Hi,
i used to use deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main
to update dovecot 1.2 with debian lenny. I used the convert script to change my configuration file. Everything works fine but sieve does not work anymore. There is no error in the logs but dovecot simply ignores any filter.I checked the documentation/configuration twice and had still no success. Maybe, this is a known/unknown bug or any suggestions?
Best regards Martin Rozgonski
Enable mail_debug and check your log files. Please provide doveconf -n output, if you cant find the 'problem' in your logs.
Regards, Pascal
The trapper recommends today: decade.1104117@localdomain.org
Still no luck with the logs. The sieve rules seem to be correctly generated but dovecot just puts new mail to inbox.
Output if i add a filter rule in webmail: Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve-login: Login: user=<test@domain.com>, method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, mpid=32385, secured Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve: Debug: Added userdb setting: mail=maildir:/daten/mail/domain.com/test Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve: Debug: Added userdb setting: plugin/quota_rule=*:bytes=5120000 Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: Effective uid=150, gid=8, home=/daten/mail/domain.com/test Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: maildir++: root=/daten/mail/domain.com/test, index=, control=, inbox=/daten/mail/domain.com/test Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: sieve-storage: using active sieve script path: /daten/mail/domain.com/test/sieve/.dovecot.sieve Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: sieve-storage: using sieve script storage directory: /daten/mail/domain.com/test/sieve Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: sieve-storage: using permissions from /daten/mail/domain.com/test/sieve: mode=0700 gid=-1 Feb 11 14:36:28 kundenmail-server01 dovecot: managesieve(test@domain.com): Debug: sieve-storage: relative path to sieve storage in active link: Feb 11 14:36:29 kundenmail-server01 dovecot: managesieve(test@domain.com): Disconnected: Logged out bytes=360/439
Output test mail: Feb 11 14:37:44 kundenmail-server01 postfix/smtpd[26507]: connect from mx01.kontrast.de[192.168.223.25] Feb 11 14:37:44 kundenmail-server01 postfix/smtpd[26507]: CFB5A2BC57: client=mx01.kontrast.de[192.168.223.25] Feb 11 14:37:44 kundenmail-server01 postfix/cleanup[30646]: CFB5A2BC57: message-id=<3051DD9C-C5B9-4311-AD99-FB3F378F1979@kontrast.de> Feb 11 14:37:44 kundenmail-server01 postfix/qmgr[15994]: CFB5A2BC57: from=<martin.rozgonski@kontrast.de>, size=815, nrcpt=1 (queue active) Feb 11 14:37:44 kundenmail-server01 postfix/smtpd[26507]: disconnect from mx01.kontrast.de[192.168.223.25] Feb 11 14:37:44 kundenmail-server01 dovecot: lda: Debug: auth input: test@domain.com home=/daten/mail/domain.com/test mail=maildir:/daten/mail/domain.com/test uid=150 gid=8 quota_rule=*:bytes=5120000 Feb 11 14:37:44 kundenmail-server01 dovecot: lda: Debug: Added userdb setting: mail=maildir:/daten/mail/domain.com/test Feb 11 14:37:44 kundenmail-server01 dovecot: lda: Debug: Added userdb setting: plugin/quota_rule=*:bytes=5120000 Feb 11 14:37:44 kundenmail-server01 dovecot: lda(test@domain.com): Debug: Effective uid=150, gid=8, home=/daten/mail/domain.com/test Feb 11 14:37:44 kundenmail-server01 dovecot: lda(test@domain.com): Debug: maildir++: root=/daten/mail/domain.com/test, index=, control=, inbox=/daten/mail/domain.com/test Feb 11 14:37:44 kundenmail-server01 dovecot: lda(test@domain.com): Debug: none: root=, index=, control=, inbox= Feb 11 14:37:44 kundenmail-server01 dovecot: lda(test@domain.com): msgid=<3051DD9C-C5B9-4311-AD99-FB3F378F1979@kontrast.de>: saved mail to INBOX Feb 11 14:37:44 kundenmail-server01 postfix/pipe[32287]: CFB5A2BC57: to=<test@domain.com>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service) Feb 11 14:37:44 kundenmail-server01 postfix/qmgr[15994]: CFB5A2BC57: removed
dovecot -n # 2.0.9 (443cc3044d91): /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.8 ext3 auth_mechanisms = plain login cram-md5 digest-md5 apop base_dir = /var/run/dovecot/ disable_plaintext_auth = no first_valid_uid = 150 last_valid_uid = 150 log_timestamp = "%Y-%m-%d %H:%M:%S " login_greeting = IMAP Server ready. mail_access_groups = mail mail_debug = yes mail_location = maildir:/daten/mail/%d/%u 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 = /etc/dovecot/dovecot-sql.conf driver = sql } plugin { quota = maildir:User quota quota_rule = *:storage=5GB quota_rule2 = Trash:storage=100M quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 sieve = /daten/mail/%d/%n/sieve/.dovecot.sieve sieve_dir = /daten/mail/%d/%n/sieve } protocols = pop3 imap sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { group = mail mode = 0660 user = vmail } unix_listener auth-userdb { group = mail mode = 0660 user = vmail } user = dovecot } service imap-login { client_limit = 272 inet_listener imap { address = * port = 143 } inet_listener imaps { address = * port = 993 } process_limit = 128 } service pop3-login { client_limit = 272 inet_listener pop3 { address = * port = 110 } inet_listener pop3s { address = * port = 995 } process_limit = 128 } ssl_cert = </etc/ssl/kontrast/wildcard.kontrast.de/wildcard.kontrast.de.crt ssl_key = </etc/ssl/kontrast/wildcard.kontrast.de/wildcard.kontrast.de.key userdb { args = /etc/dovecot/dovecot-sql.conf driver = sql }
Am 10.02.2011 um 17:05 schrieb Pascal Volk: On 02/10/2011 05:01 PM Martin Rozgonski wrote: Hi,
i used to use deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main
to update dovecot 1.2 with debian lenny. I used the convert script to change
my configuration file. Everything works fine but sieve does not work anymore.
There is no error in the logs but dovecot simply ignores any filter.
I checked the documentation/configuration twice and had still no success. Maybe, this is a known/unknown bug or any suggestions?
Best regards Martin Rozgonski
Enable mail_debug and check your log files. Please provide doveconf -n output, if you cant find the 'problem' in your logs.
Regards, Pascal
The trapper recommends today: decade.1104117@localdomain.org
On 02/11/2011 02:46 PM Martin Rozgonski wrote:
Still no luck with the logs. The sieve rules seem to be correctly generated but dovecot just puts new mail to inbox.
dovecot -n # 2.0.9 (443cc3044d91): /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.8 ext3 … } plugin { quota = maildir:User quota quota_rule = *:storage=5GB quota_rule2 = Trash:storage=100M quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 sieve = /daten/mail/%d/%n/sieve/.dovecot.sieve sieve_dir = /daten/mail/%d/%n/sieve } … [many settings - but no protocol lda]
You have to configure the sieve mail_plugin for dovecot-lda (and lmtp when used).
protocol lda { mail_plugins = quota sieve }
Regards, Pascal
The trapper recommends today: cafefeed.1104214@localdomain.org
It works now while putting the lda config paramter in dovecot.conf. But before i tried to config it in 15-lda.conf.
#/etc/dovecot/conf.d/15-lda.conf protocol lda { mail_plugins = $mail_plugins quota sieve }
because there is already a plugin section here:
#/etc/dovecot/dovecot.conf plugin { quota = maildir:User quota quota_rule = *:storage=5GB quota_rule2 = Trash:storage=100M quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 sieve = /daten/mail/%d/%n/sieve/.dovecot.sieve sieve_dir = /daten/mail/%d/%n/sieve }
Thank you very much.
Best Regards Martin Rozgonski
Am 11.02.2011 um 14:53 schrieb Pascal Volk:
On 02/11/2011 02:46 PM Martin Rozgonski wrote:
Still no luck with the logs. The sieve rules seem to be correctly generated but dovecot just puts new mail to inbox.
dovecot -n # 2.0.9 (443cc3044d91): /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.8 ext3 … } plugin { quota = maildir:User quota quota_rule = *:storage=5GB quota_rule2 = Trash:storage=100M quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 sieve = /daten/mail/%d/%n/sieve/.dovecot.sieve sieve_dir = /daten/mail/%d/%n/sieve } … [many settings - but no protocol lda]
You have to configure the sieve mail_plugin for dovecot-lda (and lmtp when used).
protocol lda { mail_plugins = quota sieve }
Regards, Pascal
The trapper recommends today: cafefeed.1104214@localdomain.org
Op 10-2-2011 17:01, Martin Rozgonski schreef:
Hi,
i used to use deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.0 main to update dovecot 1.2 with debian lenny. I used the convert script to change my configuration file. Everything works fine but sieve does not work anymore. There is no error in the logs but dovecot simply ignores any filter.
I checked the documentation/configuration twice and had still no success. Maybe, this is a known/unknown bug or any suggestions?
Hmm, that is odd. I cannot think of any changes in Dovecot or Pigeonhole itself that could have triggered this directly. However, the stable-auto and testing-auto repositories were recently upgraded to squeeze and wheezy respectively. This may have something to do with this, although I don't see how.
Anyway, I've added an oldstable-auto/dovecot-2.0 repository for continued Debian lenny support. You could give that a try.
Regards,
Stephan.
participants (3)
-
Martin Rozgonski
-
Pascal Volk
-
Stephan Bosch