[Dovecot] proxy: get rid of redundant log-informations

Reindl Harald h.reindl at thelounge.net
Sun Sep 22 01:07:29 EEST 2013

Am 21.09.2013 23:37, schrieb Timo Sirainen:
> On 14.8.2013, at 17.37, Reindl Harald <h.reindl at thelounge.net> wrote:
>> login_log_format_elements = user=<%u> method=%m rip=%r %k
>> is it possible to get rid of the "proxy(test at testserver.rhsoft.net): started proxying to " part
>> because on a proxy-only server i know that and it is explicitly not listed in "login_log_format_elements"
> Different people want different things logged. I think if I started adding settings to control those from Dovecot configuration it would quickly become a horribly complex mess

not really, take a look again at both

login_log_format_elements      = user=<%u> %r %m %c
login_log_format               = %$: %s

if fact i would only need "login_log_format = %s" but in case of failed logins
and dictionary attacks with unknown users "%u" is empty - if %u would *always*
contain the used loginname, wether if it was successful or not i would have
any needed information without the duplication

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130922/69000544/attachment.bin>

More information about the dovecot mailing list