X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=conf.d%2F10-logging.conf;h=b7d7fda42c38d638cd953e859034761f758fbd22;hb=16f2b04a0dcb92f2cc7a82ab7e6fd6693d743910;hp=7633a67217ce40a8a6f2597418ba1f40cb648540;hpb=0637072e2f3a9898a6166b344587d9663f8ba632;p=sysconfig%2Fdovecot.git diff --git a/conf.d/10-logging.conf b/conf.d/10-logging.conf index 7633a67..b7d7fda 100644 --- a/conf.d/10-logging.conf +++ b/conf.d/10-logging.conf @@ -26,6 +26,7 @@ # In case of password mismatches, log the attempted password. Valid values are # no, plain and sha1. sha1 can be useful for detecting brute force password # attempts vs. user simply trying the same password over and over again. +# You can also truncate the value to n chars by appending ":n" (e.g. sha1:6). #auth_verbose_passwords = no # Even more verbose logging for debugging purposes. Shows for example SQL @@ -66,7 +67,7 @@ log_timestamp = "%Y-%m-%d %H:%M:%S " # string. #login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c -# Login log format. %$ contains login_log_format_elements string, %s contains +# Login log format. %s contains login_log_format_elements string, %$ contains # the data we want to log. #login_log_format = %$: %s @@ -74,11 +75,16 @@ log_timestamp = "%Y-%m-%d %H:%M:%S " # possible variables you can use. #mail_log_prefix = "%s(%u): " -# Format to use for logging mail deliveries. You can use variables: +# Format to use for logging mail deliveries: # %$ - Delivery status message (e.g. "saved to INBOX") -# %m - Message-ID -# %s - Subject -# %f - From address -# %p - Physical size -# %w - Virtual size +# %m / %{msgid} - Message-ID +# %s / %{subject} - Subject +# %f / %{from} - From address +# %p / %{size} - Physical size +# %w / %{vsize} - Virtual size +# %e / %{from_envelope} - MAIL FROM envelope +# %{to_envelope} - RCPT TO envelope +# %{delivery_time} - How many milliseconds it took to deliver the mail +# %{session_time} - How long LMTP session took, not including delivery_time +# %{storage_id} - Backend-specific ID for mail, e.g. Maildir filename #deliver_log_format = msgid=%m: %$