From 9110251275632904a9aa20fda811ca3bde20ada2 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 7 Mar 2018 18:39:47 +0800 Subject: mail/dovecot: improve login log format --- roles/mail/templates/dovecot/dovecot.conf.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'roles') diff --git a/roles/mail/templates/dovecot/dovecot.conf.j2 b/roles/mail/templates/dovecot/dovecot.conf.j2 index 134a9fd..86cb08c 100644 --- a/roles/mail/templates/dovecot/dovecot.conf.j2 +++ b/roles/mail/templates/dovecot/dovecot.conf.j2 @@ -5,9 +5,11 @@ # References # ---------- # * Dovecot - Quick Configuration -# http://wiki2.dovecot.org/QuickConfiguration +# https://wiki.dovecot.org/QuickConfiguration # * Dovecot - SSL Configuration # https://wiki.dovecot.org/SSL/DovecotConfiguration +# * Dovecot - Variables +# https://wiki.dovecot.org/Variables # * Multiple domains and virtual users (Postfix/Dovecot/SASL) # http://void.ideabite.org/2013/07/28/multiple-domains-and-virtual-users/ # @@ -97,8 +99,8 @@ auth_verbose_passwords = sha1 # the client sent before any changes by auth process, to keep track of # the actual usages. # -login_log_format_elements = user=<%{orig_user}> method=%m \ - rip=%r lip=%l mpid=%e %c +login_log_format_elements = login_user=<%{orig_user}> user=<%u> \ + method=%m rip=%r lip=%l mpid=%e %k ## -- cgit v1.2.2