您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

86 行
2.7KB

  1. ##
  2. ## Log destination.
  3. ##
  4. # Log file to use for error messages. "syslog" logs to syslog,
  5. # /dev/stderr logs to stderr.
  6. log_path = syslog
  7. # Log file to use for informational messages. Defaults to log_path.
  8. #info_log_path =
  9. # Log file to use for debug messages. Defaults to info_log_path.
  10. #debug_log_path =
  11. # Syslog facility to use if you're logging to syslog. Usually if you don't
  12. # want to use "mail", you'll use local0..local7. Also other standard
  13. # facilities are supported.
  14. syslog_facility = mail
  15. ##
  16. ## Logging verbosity and debugging.
  17. ##
  18. # Log unsuccessful authentication attempts and the reasons why they failed.
  19. #auth_verbose = no
  20. # In case of password mismatches, log the attempted password. Valid values are
  21. # no, plain and sha1. sha1 can be useful for detecting brute force password
  22. # attempts vs. user simply trying the same password over and over again.
  23. # You can also truncate the value to n chars by appending ":n" (e.g. sha1:6).
  24. #auth_verbose_passwords = no
  25. # Even more verbose logging for debugging purposes. Shows for example SQL
  26. # queries.
  27. #auth_debug = no
  28. #auth_debug = yes
  29. # In case of password mismatches, log the passwords and used scheme so the
  30. # problem can be debugged. Enabling this also enables auth_debug.
  31. #auth_debug_passwords = no
  32. # Enable mail process debugging. This can help you figure out why Dovecot
  33. # isn't finding your mails.
  34. #mail_debug = no
  35. # Show protocol level SSL errors.
  36. #verbose_ssl = no
  37. # mail_log plugin provides more event logging for mail processes.
  38. plugin {
  39. # Events to log. Also available: flag_change append
  40. #mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  41. # Available fields: uid, box, msgid, from, subject, size, vsize, flags
  42. # size and vsize are available only for expunge and copy events.
  43. #mail_log_fields = uid box msgid size
  44. }
  45. ##
  46. ## Log formatting.
  47. ##
  48. # Prefix for each line written to log file. % codes are in strftime(3)
  49. # format.
  50. #log_timestamp = "%b %d %H:%M:%S "
  51. # Space-separated list of elements we want to log. The elements which have
  52. # a non-empty variable value are joined together to form a comma-separated
  53. # string.
  54. #login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
  55. # Login log format. %s contains login_log_format_elements string, %$ contains
  56. # the data we want to log.
  57. #login_log_format = %$: %s
  58. # Log prefix for mail processes. See doc/wiki/Variables.txt for list of
  59. # possible variables you can use.
  60. #mail_log_prefix = "%s(%u): "
  61. # Format to use for logging mail deliveries. You can use variables:
  62. # %$ - Delivery status message (e.g. "saved to INBOX")
  63. # %m - Message-ID
  64. # %s - Subject
  65. # %f - From address
  66. # %p - Physical size
  67. # %w - Virtual size
  68. #deliver_log_format = msgid=%m: %$