[Dovecot] determining connection type/port in logs
Is there a way to configure logging to indicate what connection type was used to authenticate? I'd like to be able to tell from the logs whether the user used STARTTLS on port 143 or an SSL-wrapped connection on port 993. Using RC15 with auth_verbose=yes gives us the following log entries during login and logout (lines wrapped for convenience):
# login port 143 with STARTTLS: Jan 3 14:17:24 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<glenn>, method=plain, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 3 14:17:41 tony dovecot: [ID 107833 local5.info] IMAP(glenn): Disconnected: Logged out
# login port 993/SSL Jan 3 14:19:11 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<glenn>, method=plain, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 3 14:19:20 tony dovecot: [ID 107833 local5.info] IMAP(glenn): Disconnected: Logged out
Turning on auth_debug=yes added some additional info, but I still wasn't able to tell what port or connection type was used.
Thanks very much, Glenn
-- Glenn Leavell glenn@usg.edu Office of Information and Instructional Technology Board of Regents of the University System of Georgia
On 3.1.2007, at 21.50, Glenn Leavell wrote:
Is there a way to configure logging to indicate what connection
type was used to authenticate? I'd like to be able to tell from the logs
whether the user used STARTTLS on port 143 or an SSL-wrapped connection on
port 993. Using RC15 with auth_verbose=yes gives us the following log
entries during login and logout (lines wrapped for convenience):
I've since added %a = local port to CVS. I should release rc16 soon..
participants (2)
-
Glenn Leavell
-
Timo Sirainen