Advertisement
Guest User

Untitled

a guest
Sep 9th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. # 2.2.32 (): /usr/local/etc/dovecot/dovecot.conf
  2. # OS: FreeBSD 11.1-RELEASE-p4 amd64
  3. aps_topic = com.apple.mail.XServer.88362147-afa8-44e3-9d44-cb320e55fc39
  4. auth_cache_size = 8 k
  5. auth_mechanisms = plain login
  6. auth_verbose = yes
  7. auth_worker_max_count = 4000
  8. default_process_limit = 2000
  9. dict {
  10. acl = mysql:/usr/local/etc/dovecot/dovecot-dict-sql.conf
  11. }
  12. director_consistent_hashing = yes
  13. director_mail_servers = 192.168.1.28 192.168.1.33 192.168.1.34 192.168.1.38 192.168.1.40 192.168.1.43 192.168.1.54 192.168.1.58 192.168.1.71 192.168.1.80 192.168.1.152
  14. director_servers = 192.168.1.156 192.168.1.157 192.168.1.158 192.168.1.159
  15. disable_plaintext_auth = no
  16. doveadm_port = 24245
  17. first_valid_gid = 89
  18. first_valid_uid = 89
  19. haproxy_trusted_networks = 192.168.1.96 192.168.1.97 192.168.1.95
  20. imap_id_retain = yes
  21. lmtp_proxy = yes
  22. lock_method = dotlock
  23. login_greeting = IMAP ready.
  24. login_trusted_networks = 192.168.1.0/24
  25. mail_fsync = always
  26. mail_gid = 89
  27. mail_location = maildir:~/Maildir:INDEX=/liveindexes/indexes/%d/%n:CONTROL=/liveindexes/control/%d/%n
  28. mail_nfs_index = yes
  29. mail_nfs_storage = yes
  30. mail_privileged_group = mail
  31. mail_uid = 89
  32. mmap_disable = yes
  33. namespace {
  34. inbox = yes
  35. location =
  36. prefix =
  37. separator = .
  38. type = private
  39. }
  40. namespace {
  41. location = virtual:~/Maildir/Labels:INDEX=MEMORY
  42. prefix = Labels.
  43. separator = .
  44. type = private
  45. }
  46. namespace {
  47. list = children
  48. location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  49. prefix = shared.%%n.
  50. separator = .
  51. subscriptions = no
  52. type = shared
  53. }
  54. namespace {
  55. hidden = yes
  56. inbox = no
  57. list = no
  58. location = maildir:~/Maildir/Archive
  59. prefix = ARCHIVE.
  60. separator = .
  61. subscriptions = no
  62. type = private
  63. }
  64. passdb {
  65. args = cache_key=%u%r
  66. driver = vpopmail
  67. }
  68. plugin {
  69. acl = vfile
  70. acl_shared_dict = proxy::acl
  71. quota = maildir:User Space:ns=
  72. quota_rule = ?:storage=0
  73. }
  74. service anvil {
  75. client_limit = 10000
  76. process_limit = 1
  77. }
  78. service auth {
  79. client_limit = 10000
  80. unix_listener auth-master {
  81. mode = 0600
  82. user = vpopmail
  83. }
  84. user = root
  85. }
  86. service dict {
  87. unix_listener dict {
  88. mode = 0600
  89. user = vpopmail
  90. }
  91. }
  92. service director {
  93. fifo_listener login/proxy-notify {
  94. mode = 0600
  95. user = $default_login_user
  96. }
  97. inet_listener {
  98. port = 9090
  99. }
  100. unix_listener director-userdb {
  101. mode = 0600
  102. }
  103. unix_listener login/director {
  104. mode = 0666
  105. }
  106. }
  107. service doveadm {
  108. inet_listener {
  109. port = 24245
  110. }
  111. }
  112. service imap-login {
  113. executable = imap-login director
  114. inet_listener imap {
  115. address = *
  116. port = 143
  117. }
  118. inet_listener imap_haproxy {
  119. address = 192.168.1.156
  120. haproxy = yes
  121. port = 10143
  122. }
  123. inet_listener imaps {
  124. address = *
  125. port = 993
  126. }
  127. process_limit = 0
  128. process_min_avail = 2
  129. service_count = 100
  130. vsz_limit = 1 G
  131. }
  132. service imap {
  133. executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap
  134. process_limit = 4000
  135. vsz_limit = 756 M
  136. }
  137. service ipc {
  138. unix_listener ipc {
  139. user = dovecot
  140. }
  141. }
  142. service lmtp {
  143. inet_listener lmtp {
  144. address = 192.168.1.156
  145. port = 24
  146. }
  147. }
  148. service pop3-login {
  149. executable = pop3-login director
  150. inet_listener pop3 {
  151. address = *
  152. port = 110
  153. }
  154. inet_listener pop3s {
  155. address = *
  156. port = 995
  157. }
  158. process_limit = 0
  159. process_min_avail = 2
  160. service_count = 100
  161. vsz_limit = 1 G
  162. }
  163. service pop3 {
  164. process_limit = 4000
  165. }
  166. ssl_ca = </usr/local/gtech/certs/comodo.crt
  167. ssl_cert = </usr/local/gtech/certs/star.domain.com.crt
  168. ssl_cipher_list = ALL:HIGH:!aNULL:!eNULL:!kECDH:!aDH:!RC4:!SSLv2:!DH:!3DES:!CAMELLIA:!MD5:!PSK:!SRP:!KRB5:@STRENGTH
  169. ssl_key = # hidden, use -P to show it
  170. userdb {
  171. args = /usr/local/etc/dovecot/userdb-sql.conf
  172. driver = sql
  173. }
  174. verbose_proctitle = yes
  175. protocol imap {
  176. imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  177. mail_max_userip_connections = 300
  178. mail_plugins = quota imap_quota fts virtual acl imap_acl
  179. }
  180. protocol pop3 {
  181. mail_plugins = virtual
  182. pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  183. pop3_uidl_format = %08Xu%08Xv
  184. }
  185. protocol lda {
  186. sendmail_path = /usr/sbin/sendmail
  187. }
  188. protocol lmtp {
  189. auth_socket_path = director-userdb
  190. mail_plugins = virtual
  191. }
  192. protocol doveadm {
  193. auth_socket_path = director-userdb
  194. }
  195. local 192.168.1.0/24 {
  196. doveadm_password = # hidden, use -P to show it
  197. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement