diff dovecot-example.conf @ 3384:3b75956d20c4 HEAD

Added configurable logging for login process. Added configurable pop3 logout string. Based on a patch by Andrey Panin.
author Timo Sirainen <tss@iki.fi>
date Sat, 14 May 2005 23:32:03 +0300
parents 9ea318f232e0
children 0e05687892dc
line wrap: on
line diff
--- a/dovecot-example.conf	Sat May 14 20:17:29 2005 +0300
+++ b/dovecot-example.conf	Sat May 14 23:32:03 2005 +0300
@@ -128,6 +128,15 @@
 # Greeting message for clients.
 #login_greeting = Dovecot ready.
 
+# Space-separated list of elements we want to log. The elements which have
+# a non-empty variable value are joined together to form a comma-separated
+# string.
+#login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
+
+# Login log format. %$ contains login_log_format_elements string, %s contains
+# the data we want to log.
+#login_log_format = %$: %s
+
 ##
 ## Mail processes
 ##
@@ -464,6 +473,16 @@
   # idea to change this. %08Xu%08Xv should be pretty fail-safe.
   #pop3_uidl_format = %v.%u
 
+  # POP3 logout format string:
+  #  %t - number of TOP commands
+  #  %T - number of bytes sent to client as a result of TOP command
+  #  %r - number of RETR commands
+  #  %R - number of bytes sent to client as a result of RETR command
+  #  %d - number of deleted messages
+  #  %m - number of messages (before deletion)
+  #  %s - mailbox size in bytes (before deletion)
+  #pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
+
   # Support for dynamically loadable modules.
   #mail_use_modules = no
   #mail_modules = /usr/lib/dovecot/pop3