Advertisement
fsantiago0704482

doveconf n

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