Advertisement
goldlinux

dovecot -n

May 4th, 2015
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. # 2.1.7: /etc/dovecot/dovecot.conf
  2. # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.8 vboxsf
  3. auth_debug = yes
  4. auth_debug_passwords = yes
  5. auth_default_realm = 1cps.ru
  6. auth_master_user_separator = *
  7. auth_mechanisms = plain login
  8. auth_verbose = yes
  9. auth_verbose_passwords = plain
  10. dict {
  11. acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  12. quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
  13. }
  14. first_valid_gid = 2000
  15. first_valid_uid = 2000
  16. last_valid_gid = 2000
  17. last_valid_uid = 2000
  18. listen = *
  19. log_path = /var/log/dovecot.log
  20. mail_debug = yes
  21. mail_gid = 2000
  22. mail_location = maildir:/var/vmail/vmail1/%Ld/%Ln
  23. mail_plugins = " quota"
  24. mail_uid = 2000
  25. managesieve_notify_capability = mailto
  26. managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
  27. namespace inbox {
  28. inbox = yes
  29. location =
  30. mailbox Drafts {
  31. special_use = \Drafts
  32. }
  33. mailbox Junk {
  34. special_use = \Junk
  35. }
  36. mailbox Sent {
  37. special_use = \Sent
  38. }
  39. mailbox "Sent Messages" {
  40. special_use = \Sent
  41. }
  42. mailbox Trash {
  43. special_use = \Trash
  44. }
  45. prefix =
  46. separator = /
  47. type = private
  48. }
  49. passdb {
  50. args = /etc/dovecot/dovecot-sql.conf.ext
  51. driver = sql
  52. }
  53. plugin {
  54. auth_socket_path = /var/run/dovecot/auth-master
  55. autocreate = INBOX
  56. autocreate2 = Sent
  57. autocreate3 = Trash
  58. autocreate4 = Drafts
  59. autocreate5 = Junk
  60. autosubscribe = INBOX
  61. autosubscribe2 = Sent
  62. autosubscribe3 = Trash
  63. autosubscribe4 = Drafts
  64. autosubscribe5 = Junk
  65. quota = dict:user::proxy::quotadict
  66. quota_rule = *:storage=1G
  67. quota_warning = storage=85%% quota-warning 85 %u
  68. quota_warning2 = storage=90%% quota-warning 90 %u
  69. quota_warning3 = storage=95%% quota-warning 95 %u
  70. sieve = /%Lh/sieve/dovecot.sieve
  71. sieve_before = /var/vmail/sieve/dovecot.sieve
  72. sieve_dir = /%Lh/sieve
  73. sieve_max_actions = 32
  74. sieve_max_redirects = 8
  75. sieve_max_script_size = 1M
  76. }
  77. postmaster_address = postmaster@1cps.ru
  78. protocols = imap lmtp sieve
  79. service auth {
  80. unix_listener /var/spool/postfix/private/dovecot-auth {
  81. group = postfix
  82. mode = 0666
  83. user = postfix
  84. }
  85. unix_listener auth-master {
  86. group = vmail
  87. mode = 0666
  88. user = vmail
  89. }
  90. unix_listener auth-userdb {
  91. group = vmail
  92. mode = 0660
  93. user = vmail
  94. }
  95. }
  96. service dict {
  97. unix_listener dict {
  98. group = vmail
  99. mode = 0660
  100. user = vmail
  101. }
  102. }
  103. service imap-login {
  104. inet_listener imap {
  105. port = 143
  106. }
  107. inet_listener imaps {
  108. port = 993
  109. ssl = yes
  110. }
  111. }
  112. service lmtp {
  113. executable = lmtp -L
  114. inet_listener lmtp {
  115. port = 24
  116. }
  117. process_min_avail = 5
  118. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  119. group = postfix
  120. mode = 0600
  121. user = postfix
  122. }
  123. user = vmail
  124. }
  125. service managesieve-login {
  126. inet_listener sieve {
  127. port = 4190
  128. }
  129. service_count = 1
  130. }
  131. service quota-warning {
  132. executable = script /usr/local/bin/dovecot-quota-warning.sh
  133. unix_listener quota-warning {
  134. group = vmail
  135. mode = 0660
  136. user = vmail
  137. }
  138. }
  139. ssl = required
  140. ssl_cert = </etc/ssl/certs/iRedMail.crt
  141. ssl_key = </etc/ssl/private/iRedMail.key
  142. ssl_protocols = !SSLv2 !SSLv3
  143. userdb {
  144. args = /etc/dovecot/dovecot-sql.conf.ext
  145. driver = sql
  146. }
  147. verbose_proctitle = yes
  148. verbose_ssl = yes
  149. protocol lmtp {
  150. info_log_path = /var/log/dovecot-lmtp.log
  151. lmtp_save_to_detail_mailbox = yes
  152. mail_plugins = quota sieve
  153. postmaster_address = postmaster
  154. recipient_delimiter = +
  155. }
  156. protocol lda {
  157. auth_socket_path = /var/run/dovecot/auth-master
  158. lda_mailbox_autocreate = yes
  159. log_path = /var/log/dovecot-sieve.log
  160. mail_plugins = " quota sieve autocreate acl"
  161. postmaster_address = root
  162. }
  163. protocol imap {
  164. imap_client_workarounds = tb-extra-mailbox-sep delay-newmail tb-lsub-flags
  165. mail_max_userip_connections = 20
  166. mail_plugins = " quota imap_quota autocreate"
  167. }
  168. protocol sieve {
  169. mail_max_userip_connections = 10
  170. managesieve_implementation_string = Dovecot Pigeonhole
  171. managesieve_logout_format = bytes=%i/%o
  172. managesieve_max_compile_errors = 5
  173. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement