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 at 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 at aditsystems.de): Info: sieve: msgid=<20091105214738.0961643C82 at terra.a1a-server.de>: stored mail into mailbox 'INBOX'without:> Nov 05 22:48:44 deliver(antondollmaier at aditsystems.de): Info: from:root at terra.a1a-server.de msgid:<20091105214843.C3BDA43C82 at terra.a1a-server.de> action:saved mail to INBOX subject:testLDA-Config:> lda: > mail_plugins: quota sieve autocreate > deliver_log_format: from:%f msgid:%m action:%$ subject:%sthe 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.sieveAny 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 at 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/globalsievercHm, works for me. How do you invoke deliver? (in Postfix's master.cf) Regards, Pascal -- The trapper recommends today: c01dcafe.0930922 at localdomain.org
Hello, that will be great. Thank you. 2009/11/6 Pascal Volk <user+dovecot at 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 at localdomain.org >-- Lampa
Hello, thank you very much. 2009/11/8 Stephan Bosch <stephan at 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