Advertisement
Guest User

Untitled

a guest
Dec 18th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. # 2.2.24 (a82c823): /etc/dovecot/dovecot.conf
  2. # Pigeonhole version 0.4.14 (099a97c)
  3. # OS: OpenBSD 6.0 amd64
  4. auth_master_user_separator = *
  5. auth_mechanisms = PLAIN LOGIN
  6. base_dir = /var/run/dovecot
  7. dict {
  8. acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  9. quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
  10. }
  11. first_valid_uid = 2000
  12. imapc_features = rfc822.size fetch-headers
  13. imapc_host = 1.2.3.4
  14. imapc_master_user = master@not-exist.com
  15. imapc_password = # hidden, use -P to show it
  16. imapc_ssl = starttls
  17. imapc_ssl_verify = no
  18. imapc_user = %u
  19. last_valid_uid = 2000
  20. listen = * [::]
  21. log_path = /var/log/dovecot.log
  22. mail_gid = 2000
  23. mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/
  24. mail_plugins = quota mailbox_alias acl
  25. mail_prefetch_count = 50
  26. mail_uid = 2000
  27. managesieve_notify_capability = mailto
  28. 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 index ihave duplicate mime foreverypart extracttext
  29. namespace {
  30. inbox = yes
  31. location =
  32. mailbox Archive {
  33. auto = no
  34. special_use = \Archive
  35. }
  36. mailbox Archives {
  37. auto = no
  38. special_use = \Archive
  39. }
  40. mailbox "Deleted Messages" {
  41. auto = no
  42. special_use = \Trash
  43. }
  44. mailbox Drafts {
  45. auto = subscribe
  46. special_use = \Drafts
  47. }
  48. mailbox Junk {
  49. auto = subscribe
  50. special_use = \Junk
  51. }
  52. mailbox "Junk E-mail" {
  53. auto = no
  54. special_use = \Junk
  55. }
  56. mailbox Sent {
  57. auto = subscribe
  58. special_use = \Sent
  59. }
  60. mailbox "Sent Items" {
  61. auto = no
  62. special_use = \Sent
  63. }
  64. mailbox "Sent Messages" {
  65. auto = no
  66. special_use = \Sent
  67. }
  68. mailbox Spam {
  69. auto = no
  70. special_use = \Junk
  71. }
  72. mailbox Trash {
  73. auto = subscribe
  74. special_use = \Trash
  75. }
  76. prefix =
  77. separator = /
  78. type = private
  79. }
  80. namespace {
  81. list = children
  82. location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%Ld/%%Ln
  83. prefix = Shared/%%u/
  84. separator = /
  85. subscriptions = yes
  86. type = shared
  87. }
  88. passdb {
  89. args = /etc/dovecot/dovecot-ldap.conf
  90. driver = ldap
  91. }
  92. passdb {
  93. args = /etc/dovecot/dovecot-master-users
  94. driver = passwd-file
  95. master = yes
  96. }
  97. plugin {
  98. acl = vfile
  99. acl_shared_dict = proxy::acl
  100. auth_socket_path = /var/run/dovecot/auth-master
  101. mailbox_alias_new = Sent Messages
  102. mailbox_alias_new2 = Sent Items
  103. mailbox_alias_old = Sent
  104. mailbox_alias_old2 = Sent
  105. quota = dict:user::proxy::quotadict
  106. quota_grace = 10%%
  107. quota_rule = *:storage=1G
  108. quota_warning = storage=100%% quota-warning 100 %u
  109. quota_warning2 = storage=95%% quota-warning 95 %u
  110. quota_warning3 = storage=90%% quota-warning 90 %u
  111. quota_warning4 = storage=85%% quota-warning 85 %u
  112. sieve = %Lh/sieve/dovecot.sieve
  113. sieve_before = /data/mail/sieve/dovecot.sieve
  114. sieve_dir = %Lh/sieve
  115. sieve_global_dir = /data/mail/sieve
  116. sieve_max_redirects = 30
  117. }
  118. protocols = pop3 imap sieve lmtp
  119. service auth {
  120. inet_listener {
  121. address = 127.0.0.1
  122. port = 12345
  123. }
  124. unix_listener /var/spool/postfix/private/dovecot-auth {
  125. group = _postfix
  126. mode = 0666
  127. user = _postfix
  128. }
  129. unix_listener auth-master {
  130. group = vmail
  131. mode = 0666
  132. user = vmail
  133. }
  134. unix_listener auth-userdb {
  135. group = vmail
  136. mode = 0660
  137. user = vmail
  138. }
  139. }
  140. service dict {
  141. unix_listener dict {
  142. group = vmail
  143. mode = 0660
  144. user = vmail
  145. }
  146. }
  147. service imap-login {
  148. process_limit = 500
  149. service_count = 1
  150. }
  151. service lmtp {
  152. executable = lmtp -L
  153. inet_listener lmtp {
  154. address = 127.0.0.1
  155. port = 24
  156. }
  157. process_min_avail = 5
  158. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  159. group = _postfix
  160. mode = 0600
  161. user = _postfix
  162. }
  163. user = vmail
  164. }
  165. service managesieve-login {
  166. inet_listener sieve {
  167. address = 127.0.0.1
  168. port = 4190
  169. }
  170. }
  171. service pop3-login {
  172. service_count = 1
  173. }
  174. service quota-warning {
  175. executable = script /usr/local/bin/dovecot-quota-warning.sh
  176. unix_listener quota-warning {
  177. group = vmail
  178. mode = 0660
  179. user = vmail
  180. }
  181. }
  182. ssl = required
  183. ssl_cert = </etc/ssl/iRedMail.crt
  184. ssl_cipher_list = EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  185. ssl_dh_parameters_length = 2048
  186. ssl_key = </etc/ssl/iRedMail.key
  187. ssl_prefer_server_ciphers = yes
  188. ssl_protocols = !SSLv2 !SSLv3
  189. userdb {
  190. args = /etc/dovecot/dovecot-ldap.conf
  191. driver = ldap
  192. }
  193. protocol lda {
  194. auth_socket_path = /var/run/dovecot/auth-master
  195. lda_mailbox_autocreate = yes
  196. lda_mailbox_autosubscribe = yes
  197. log_path = /var/log/dovecot-sieve.log
  198. mail_plugins = quota mailbox_alias acl sieve
  199. postmaster_address = root
  200. }
  201. protocol lmtp {
  202. lmtp_save_to_detail_mailbox = yes
  203. log_path = /var/log/dovecot-lmtp.log
  204. mail_plugins = quota sieve
  205. postmaster_address = postmaster
  206. recipient_delimiter = +
  207. }
  208. protocol imap {
  209. imap_client_workarounds = tb-extra-mailbox-sep
  210. mail_max_userip_connections = 30
  211. mail_plugins = quota mailbox_alias acl imap_quota imap_acl
  212. }
  213. protocol pop3 {
  214. mail_max_userip_connections = 30
  215. mail_plugins = quota mailbox_alias acl
  216. pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  217. pop3_uidl_format = %08Xu%08Xv
  218. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement