[Dovecot] deliver_log_format ignored
Hello,
seems that LDA ignores deliver_log_format (still log with format: "msgid=%m: %$")
# 1.2.6: /etc/dovecot/dovecot.conf # OS: Linux 2.6.31 x86_64 Debian squeeze/sid xfs log_path: /var/log/dovecot/error.log info_log_path: /var/log/dovecot/info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: none listen: none disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:/home/mail/%d/%n/Maildir mbox_write_locks: fcntl dotlock lda: postmaster_address: postmaster@domain.tld mail_plugins: sieve quota deliver_log_format: from=%f msgid=%m: %$ auth_socket_path: /var/run/dovecot/auth-master auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=500 gid=500 home=/home/mail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail plugin: quota: dict:user::file:/home/mail/%d/%n/Maildir/dovecot-quota quota_rule: *:storage=500M:messages=10000 quota_warning: storage=95%% /etc/dovecot/quota-warning.sh quota_warning2: storage=80%% /etc/dovecot/quota-warning.sh global_script_path: /home/mail/globalsieverc
Is there some change from this http://www.dovecot.org/list/dovecot/2009-April/039013.html or http://www.dovecot.org/list/dovecot/2009-May/039269.html ?
-- Lampa
Hi,
seems that LDA ignores deliver_log_format (still log with format: "msgid=%m: %$") Is there some change from this http://www.dovecot.org/list/dovecot/2009-April/039013.html or http://www.dovecot.org/list/dovecot/2009-May/039269.html ?
I still have this problem, but also new information:
You also use a global sieve script, as I do on my server (here: sieve_global_dir / sieve_before).
On the server of a customer, I use the same deb-package as on mine, but there the deliver_log_format is not ignored.
Just tested the differences:
If I comment out all sieve-parameters in dovecot.conf, the deliver_log_format is being used:
with sieve-params:
Nov 05 22:47:38 deliver(antondollmaier@aditsystems.de): Info: sieve: msgid=20091105214738.0961643C82@terra.a1a-server.de: stored mail into mailbox 'INBOX'
without:
Nov 05 22:48:44 deliver(antondollmaier@aditsystems.de): Info: from:root@terra.a1a-server.de msgid:20091105214843.C3BDA43C82@terra.a1a-server.de action:saved mail to INBOX subject:test
LDA-Config:
lda: mail_plugins: quota sieve autocreate deliver_log_format: from:%f msgid:%m action:%$ subject:%s
the parameter I commented out were:
lda: sieve_global_dir: /etc/dovecot/sieve plugin: sieve: ~/.dovecot.sieve sieve_global_dir: /etc/dovecot/sieve/ sieve_dir: %h/sieve sieve_before: /etc/dovecot/sieve/shared.sieve
Any hints on this, Timo / Stephan?
Best regards,
Anton
On 11/05/2009 10:42 PM Lampa wrote:
Hello,
seems that LDA ignores deliver_log_format (still log with format: "msgid=%m: %$")
# 1.2.6: /etc/dovecot/dovecot.conf # OS: Linux 2.6.31 x86_64 Debian squeeze/sid xfs log_path: /var/log/dovecot/error.log info_log_path: /var/log/dovecot/info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: none listen: none disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:/home/mail/%d/%n/Maildir mbox_write_locks: fcntl dotlock lda: postmaster_address: postmaster@domain.tld mail_plugins: sieve quota deliver_log_format: from=%f msgid=%m: %$ auth_socket_path: /var/run/dovecot/auth-master auth default: mechanisms: plain login verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: uid=500 gid=500 home=/home/mail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail plugin: quota: dict:user::file:/home/mail/%d/%n/Maildir/dovecot-quota quota_rule: *:storage=500M:messages=10000 quota_warning: storage=95%% /etc/dovecot/quota-warning.sh quota_warning2: storage=80%% /etc/dovecot/quota-warning.sh global_script_path: /home/mail/globalsieverc
Hm, works for me. How do you invoke deliver? (in Postfix's master.cf)
Regards, Pascal
The trapper recommends today: c01dcafe.0930922@localdomain.org
Hm, works for me. How do you invoke deliver? (in Postfix's master.cf)
As I have the same problem:
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -s -d $(recipient)
main.cf:
virtual_transport = dovecot dovecot_destination_recipient_limit = 1 dovecot_destination_concurrency_limit = 1
On 11/05/2009 11:00 PM Anton Dollmaier wrote:
Hm, works for me. How do you invoke deliver? (in Postfix's master.cf)
As I have the same problem:
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -s -d $(recipient)
I've got additionally -f ${sender}. But yes, my last reply was to fast. After your reply to Lampa I've checked my logs again. When using sieve, the deliver_log_format is ignored, w/o sieve it's OK.
Regards, Pascal
The trapper recommends today: cafefeed.0930923@localdomain.org
Hello,
so seems that sieve uses own log format which is not customizable and it overrides delivery_log_format
2009/11/5 Pascal Volk user+dovecot@localhost.localdomain.org:
On 11/05/2009 11:00 PM Anton Dollmaier wrote:
Hm, works for me. How do you invoke deliver? (in Postfix's master.cf)
As I have the same problem:
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -s -d $(recipient)
I've got additionally -f ${sender}. But yes, my last reply was to fast. After your reply to Lampa I've checked my logs again. When using sieve, the deliver_log_format is ignored, w/o sieve it's OK.
Regards, Pascal
The trapper recommends today: cafefeed.0930923@localdomain.org
-- Lampa
On 11/06/2009 07:40 AM Lampa wrote:
Hello,
so seems that sieve uses own log format which is not customizable and it overrides delivery_log_format
Yes, at the moment. But in the meantime Stephan is informed about this issue. In #dovecot he has said: "… ok, will fix that. …" :-)
Regards, Pascal
The trapper recommends today: defaced.0931007@localdomain.org
Hello,
that will be great.
Thank you.
2009/11/6 Pascal Volk user+dovecot@localhost.localdomain.org:
On 11/06/2009 07:40 AM Lampa wrote:
Hello,
so seems that sieve uses own log format which is not customizable and it overrides delivery_log_format
Yes, at the moment. But in the meantime Stephan is informed about this issue. In #dovecot he has said: "… ok, will fix that. …" :-)
Regards, Pascal
The trapper recommends today: defaced.0931007@localdomain.org
-- Lampa
Lampa wrote:
Hello,
so seems that sieve uses own log format which is not customizable and it overrides delivery_log_format
Fixed:
http://hg.rename-it.nl/dovecot-1.2-sieve/rev/2e4679323759
Regards,
Stephan
Hello,
thank you very much.
2009/11/8 Stephan Bosch stephan@rename-it.nl:
Lampa wrote:
Hello,
so seems that sieve uses own log format which is not customizable and it overrides delivery_log_format
Fixed:
http://hg.rename-it.nl/dovecot-1.2-sieve/rev/2e4679323759
Regards,
Stephan
-- Lampa
participants (4)
-
Anton Dollmaier
-
Lampa
-
Pascal Volk
-
Stephan Bosch