ssl cipher logging for mail
|Reported by:||Geert Hendrickx||Owned by:|
|nginx -V:||nginx version: nginx/1.19.6|
For the http module, the access_log format can be customized to great extent.
For the mail module, there is only the standard error_log, and its format cannot be changed (beyond loglevel).
It would be useful to have the ability to create custom logging for mail as well, for example to include variables like $ssl_protocol, $ssl_cipher, etc. Currently we can only obtain this information from error_log at debug level, or via network wire tapping, both of which are not suitable for regular production use.