Hi, # 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-45-server x86_64 Ubuntu 10.04.4 LTS deliver_log_format = mailbox: deliver: session=<%{session}> msgid=%m from=%f: %$
produces log messages always containing "session=<session}>", like this one: Feb 24 09:22:09 10.129.3.233 dovecot: lmtp(3484, u...@example.org): mbnWK6/NKVGcDQAAiWCYmA: sieve: mailbox: deliver: session=<session}> msgid=<20130224082208.8a807c...@mx01.example.org> from=postmas...@example.org: stored mail into mailbox 'INBOX/postmaster' http://wiki2.dovecot.org/Variables leads me to the assumption that %{session} works "everywhere" and for deliver_log_format too. Is deliver_log_format variable expansion handled differently from login_log_format_elements and mail_log_prefix? Regards Daniel -- https://plus.google.com/103021802792276734820