[Dovecot] Patch to log the cipher suite used for TLS

Aleksandar Lazic al-dovecot at none.at
Wed Aug 14 12:49:50 EEST 2013


Dear Matthias,

Am 14-08-2013 08:48, schrieb Matthias Scheler:
> Hello,
> 
> the attached patch for Dovecot 2.2.4 improves the logging to include
> information about the cipher suite used for a TLS connection. Here is
> an example log line:
> 
> Aug 13 21:49:55 colwyn dovecot: imap-login: Login: user=<tron>,
> method=CRAM-MD5, rip=2001:8b0:114:1::2, lip=2001:8b0:114:1::2,
> mpid=10567, TLS=<TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)>,
> session=<ZkEhYtrjSgAgAQiwARQAAQAAAAAAAAAC>

[snipp]

Is the %k not the same?

http://wiki2.dovecot.org/Variables

I have the following in my logging.conf

login_log_format_elements = service=%s user=<%u> session=%{session} 
method=%m rip=%r lip=%l mpid=%e %c %k

cheers
Aleks


More information about the dovecot mailing list