Advertisement
master3395

dovecot.conf

Dec 16th, 2021 (edited)
292
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None
  1. protocols = imap pop3 sieve
  2. log_timestamp = "%Y-%m-%d %H:%M:%S "
  3. mail_location = maildir:/home/vmail/%d/%n/Maildir
  4. #mail_location = mdbox:/home/vmail/%d/%n/Mdbox
  5.  
  6. ssl_cert = <cert.pem
  7. ssl_key = <key.pem
  8.  
  9. mail_plugins = zlib
  10.  
  11. mdbox_rotate_size = 2M
  12.  
  13. namespace {
  14. type = private
  15. separator = .
  16. prefix = INBOX.
  17. inbox = yes
  18. }
  19.  
  20. service auth {
  21. unix_listener auth-master {
  22. mode = 0600
  23. user = vmail
  24. }
  25.  
  26. unix_listener /var/spool/postfix/private/auth {
  27. mode = 0666
  28. user = postfix
  29. group = postfix
  30. }
  31.  
  32. user = root
  33. }
  34.  
  35. service auth-worker {
  36. user = root
  37. }
  38.  
  39. protocol lda {
  40. log_path = /home/vmail/dovecot-deliver.log
  41. auth_socket_path = /var/run/dovecot/auth-master
  42. postmaster_address = postmaster@example.com
  43.  
  44. mail_plugins = zlib
  45. }
  46.  
  47. protocol pop3 {
  48. pop3_uidl_format = %08Xu%08Xv
  49. mail_plugins = $mail_plugins zlib
  50. }
  51.  
  52. protocol imap {
  53. mail_plugins = $mail_plugins zlib imap_zlib
  54. }
  55.  
  56. passdb {
  57. driver = sql
  58. args = /etc/dovecot/dovecot-sql.conf.ext
  59. }
  60.  
  61. userdb {
  62. driver = sql
  63. args = /etc/dovecot/dovecot-sql.conf.ext
  64. }
  65.  
  66. plugin {
  67.  
  68. zlib_save = gz
  69. zlib_save_level = 6
  70.  
  71. }
  72. service managesieve-login {
  73. inet_listener sieve {
  74. port = 4190
  75. }
  76. }
  77. service managesieve {
  78. }
  79. protocol sieve {
  80. managesieve_max_line_length = 65536
  81. managesieve_implementation_string = dovecot
  82. log_path = /var/log/dovecot-sieve-errors.log
  83. info_log_path = /var/log/dovecot-sieve.log
  84. }
  85. plugin {
  86. sieve = /home/vmail/%d/%n/dovecot.sieve
  87. sieve_global_path = /etc/dovecot/sieve/default.sieve
  88. sieve_dir = /home/vmail/%d/%n/sieve
  89. sieve_global_dir = /etc/dovecot/sieve/global/
  90. }
  91. protocol lda {
  92. mail_plugins = $mail_plugins sieve quota
  93. postmaster_address = postmaster@example.com
  94. hostname = server.example.com
  95. auth_socket_path = /var/run/dovecot/auth-master
  96. log_path = /var/log/dovecot-lda-errors.log
  97. info_log_path = /var/log/dovecot-lda.log
  98. }
  99. protocol lmtp {
  100. mail_plugins = $mail_plugins sieve quota
  101. log_path = /var/log/dovecot-lmtp-errors.log
  102. info_log_path = /var/log/dovecot-lmtp.log
  103. }
  104. service stats {
  105. unix_listener stats-reader {
  106. user = vmail
  107. group = vmail
  108. mode = 0660
  109. }
  110.  
  111. unix_listener stats-writer {
  112. user = vmail
  113. group = vmail
  114. mode = 0660
  115. }
  116. }
Advertisement
RAW Paste Data Copied
Advertisement