Advertisement
Guest User

Dovect conf

a guest
Sep 24th, 2013
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. # 2.1.7: /etc/dovecot/dovecot.conf
  2. # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1 xfs
  3. auth_mechanisms = plain login
  4. default_client_limit = 1024
  5. deliver_log_format = from=<%f>: %$
  6. dict {
  7. quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  8. }
  9. disable_plaintext_auth = no
  10. first_valid_gid = 114
  11. first_valid_uid = 111
  12. last_valid_gid = 114
  13. last_valid_uid = 111
  14. listen = *
  15. mail_fsync = never
  16. mail_location = maildir:/home/mail/%d/%n/Maildir
  17. mail_plugins = quota
  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 ihave vacation-seconds
  20. mmap_disable = yes
  21. namespace inbox {
  22. inbox = yes
  23. location =
  24. mailbox Drafts {
  25. special_use = \Drafts
  26. }
  27. mailbox Junk {
  28. special_use = \Junk
  29. }
  30. mailbox Sent {
  31. special_use = \Sent
  32. }
  33. mailbox "Sent Messages" {
  34. special_use = \Sent
  35. }
  36. mailbox Trash {
  37. special_use = \Trash
  38. }
  39. prefix =
  40. }
  41. passdb {
  42. args = /etc/dovecot/dovecot-sql.conf.ext
  43. driver = sql
  44. }
  45. plugin {
  46. quota = dict:User quota::proxy::quota
  47. quota_exceeded_message = User quota exceed!
  48. quota_warning = storage=99%% quota-warning 99 %u
  49. quota_warning2 = storage=95%% quota-warning 95 %u
  50. quota_warning3 = storage=90%% quota-warning 90 %u
  51. quota_warning4 = storage=80%% quota-warning 80 %u
  52. quota_warning5 = storage=75%% quota-warning 75 %u
  53. sieve = ~/.dovecot.sieve
  54. sieve_dir = ~/sieve
  55. sieve_extensions = +vacation-seconds
  56. sieve_vacation_default_period = 0
  57. sieve_vacation_max_period = 1d
  58. sieve_vacation_min_period = 0
  59. }
  60. postmaster_address = postmaster@domain.com
  61. protocols = "imap lmtp sieve pop3"
  62. service anvil {
  63. client_limit = 1227
  64. }
  65. service auth {
  66. client_limit = 1324
  67. unix_listener /var/spool/postfix/private/auth {
  68. mode = 0666
  69. }
  70. unix_listener auth-userdb {
  71. mode = 0666
  72. }
  73. }
  74. service dict {
  75. unix_listener dict {
  76. group = vmail
  77. mode = 0600
  78. user = vmail
  79. }
  80. }
  81. service imap-login {
  82. process_limit = 1024
  83. service_count = 0
  84. }
  85. service imap {
  86. process_limit = 1024
  87. }
  88.  
  89. service lmtp {
  90. executable = lmtp -L
  91. process_min_avail = 5
  92. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  93. group = postfix
  94. mode = 0600
  95. user = postfix
  96. }
  97. user = vmail
  98. }
  99. service managesieve-login {
  100. inet_listener sieve {
  101. port = 4190
  102. }
  103. process_min_avail = 0
  104. service_count = 0
  105. vsz_limit = 100 M
  106. }
  107. service pop3-login {
  108. service_count = 0
  109. }
  110. service quota-warning {
  111. executable = script /etc/dovecot/quota-warning.sh
  112. unix_listener quota-warning {
  113. user = vmail
  114. }
  115. user = vmail
  116. }
  117. ssl_cert = </etc/dovecot/dovecot.pem
  118. ssl_key = </etc/dovecot/private/dovecot.pem
  119. syslog_facility = local0
  120. userdb {
  121. driver = prefetch
  122. }
  123. userdb {
  124. args = /etc/dovecot/dovecot-sql.conf.ext
  125. driver = sql
  126. }
  127. verbose_proctitle = yes
  128. protocol lmtp {
  129. mail_fsync = optimized
  130. mail_plugins = quota sieve
  131. }
  132. local 10.10.10.112 {
  133. protocol sieve {
  134. mail_max_userip_connections = 10
  135. }
  136. }
  137. local 10.10.10.113 {
  138. protocol imap {
  139. mail_plugins = quota imap_quota
  140. ssl_cert = </etc/dovecot/ssl/domain1.crt
  141. ssl_key = </etc/dovecot/ssl/domain1.key
  142. }
  143. }
  144. local 10.10.10.113 {
  145. protocol pop3 {
  146. mail_plugins = quota
  147. ssl_cert = </etc/dovecot/ssl/domain1.crt
  148. ssl_key = </etc/dovecot/ssl/domain1.key
  149. }
  150. }
  151. local 10.10.10.114 {
  152. protocol imap {
  153. mail_plugins = quota imap_quota
  154. ssl_cert = </etc/dovecot/ssl/domain2.crt
  155. ssl_key = </etc/dovecot/ssl/domain2.key
  156. }
  157. }
  158. local 10.10.10.114 {
  159. protocol pop3 {
  160. mail_plugins = quota
  161. ssl_cert = </etc/dovecot/ssl/domain2.crt
  162. ssl_key = </etc/dovecot/ssl/domain2.key
  163. }
  164. }
  165. local 10.10.10.115 {
  166. protocol imap {
  167. mail_plugins = quota imap_quota
  168. ssl_cert = </etc/dovecot/ssl/domain3.crt
  169. ssl_key = </etc/dovecot/ssl/domain3.key
  170. }
  171. }
  172. local 10.10.10.115 {
  173. protocol pop3 {
  174. mail_plugins = quota
  175. ssl_cert = </etc/dovecot/ssl/domain4.crt
  176. ssl_key = </etc/dovecot/ssl/domain4.key
  177. }
  178. }
  179. local 10.10.10.116 {
  180. protocol imap {
  181. mail_plugins = quota imap_quota
  182. ssl_cert = </etc/dovecot/ssl/domain5.crt
  183. ssl_key = </etc/dovecot/ssl/domain5.key
  184. }
  185. }
  186. local 10.10.10.116 {
  187. protocol pop3 {
  188. mail_plugins = quota
  189. ssl_cert = </etc/dovecot/ssl/domain5.crt
  190. ssl_key = </etc/dovecot/ssl/domain5.key
  191. }
  192. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement