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