[Dovecot] determining connection type/port in logs
Glenn Leavell
glenn at usg.edu
Wed Jan 3 19:50:48 UTC 2007
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 at usg.edu>
Office of Information and Instructional Technology
Board of Regents of the University System of Georgia
More information about the dovecot
mailing list