[Dovecot] Logged out format in log
Timo Sirainen
tss at iki.fi
Fri Aug 20 19:11:08 EEST 2010
On Fri, 2010-08-20 at 11:58 -0400, Jerrale G wrote:
>
> I was naive to not check the log more thoroughly for changes. I need
> "dovecot: imap(jerrale at sheltoncomputers.com): Disconnected: Logged out
> bytes=1921/2983" to say the rip (ip address) as 1.2.x did; how do I
> accompish such?
v1.2 didn't show rip there either. You can't put it only to logout line,
but you can put it to all lines logged by mail processes:
mail_log_prefix = "%s(%u,rip=%r): "
Or if you want it only for imap, put it inside protocol imap {} section.
More information about the dovecot
mailing list