[Dovecot] imap_logout_format don't understand %r variable
Hello list,
Dovecot version 1.2.16. In protocol imap section I have
imap_logout_format = ip=%r bytes=%i/%o
But when user disconnecting, to log file dovecot write: IMAP(user@domain): Info: Disconnected: Logged out ip= bytes=954/8644
Is this suppose to work ?
On 10.12.2010, at 7.17, Nikita Koshikov wrote:
imap_logout_format = ip=%r bytes=%i/%o
But when user disconnecting, to log file dovecot write: IMAP(user@domain): Info: Disconnected: Logged out ip= bytes=954/8644
Is this suppose to work ?
No. And I'm not sure if it should. Maybe. Anyway an alternative that already works is:
mail_log_prefix = "%s(%u %r): "
On Fri, 10 Dec 2010 07:26:39 +0000 Timo Sirainen wrote:
On 10.12.2010, at 7.17, Nikita Koshikov wrote:
imap_logout_format = ip=%r bytes=%i/%o
But when user disconnecting, to log file dovecot write: IMAP(user@domain): Info: Disconnected: Logged out ip= bytes=954/8644
Is this suppose to work ?
No. And I'm not sure if it should. Maybe. Anyway an alternative that already works is:
mail_log_prefix = "%s(%u %r): "
That works. Thank you.
participants (2)
-
Nikita Koshikov
-
Timo Sirainen