[Dovecot] separating logs by port
Hi,
I wanted to ask if there's an easy way to log the port in dovecot.
The background is that, as everyone's probably aware, pop3/imap usually listen on two ports (110/995 for pop3, 143/993 for imap). One port is the "classic" port that allows unencrypted and STARTTLS connections, the other is the legacy SSL port that allows TLS only connections.
The legacy SSL ports are considered deprecated and I'd like to know if I can deprecate them on my severs. Therefore I'd like to know how many users use them, but at the moment I can't see which port my users use.
I haven't found an easy way to detect that. The easiest thing would be if there'd be a way to add the port number to the pop3-login/imap-login lines in the log files. Any way to do that?
cu,
Hanno Böck http://hboeck.de/
mail/jabber: hanno@hboeck.de GPG: BBB51E42
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 25 Apr 2014, Hanno Böck wrote:
I wanted to ask if there's an easy way to log the port in dovecot.
http://wiki2.dovecot.org/Variables
"These variables work only in Dovecot-auth and login_log_format_elements setting:
%a %b
"
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU1pJJnz1H7kL/d9rAQL73Qf+MgDj14eTh59u5DaS+ogv6tdJMFKBSg/v 6KRe0NB+eUBgcTctl+f9qjdAtzA9L0fMDlGMA9XCAY7wjjhIj/u6oq21omcJ90HP fVqor7KQshyHeulyG4QjVXcbCjgPgooqJ0z2zEMVmxSmZ9Kb0I8PyUJZjLa1mWjx 7KpicFcaW5JL23vYKbJ0Cxq6m/wLUgM1GC43Hn0sUXHt0llyyRXZgOCOlZ+JWBB+ EaAgGAqKYkqqpbHrq6Zde3sNcv3bkaJcVkUm32gTca+em+iMtBpj4hcrdgYOraQb VRE8xmOATt6tWV7PApMmv/NFhaKuVro2TI58WCOPTqjRvLADXNRi6w== =GtcU -----END PGP SIGNATURE-----
participants (2)
-
Hanno Böck
-
Steffen Kaiser