Advertisement
Guest User

Dovecot Mailstore Server

a guest
Nov 12th, 2018
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. doveconf -n
  2. # 2.2.35 (b1cb664): /etc/dovecot/dovecot.conf
  3. # Pigeonhole version 0.4.22 (22940fb7)
  4. # OS: Linux 3.10.0-862.el7.x86_64 x86_64 CentOS Linux release 7.5.1804 (Core) nfs
  5. # Hostname: imap4.rz.uni-duesseldorf.de
  6. auth_cache_negative_ttl = 2 mins
  7. auth_cache_size = 100 M
  8. auth_cache_ttl = 2 mins
  9. auth_default_realm = uni-duesseldorf.de
  10. auth_master_user_separator = *
  11. auth_mechanisms = plain login
  12. default_vsz_limit = 1 G
  13. disable_plaintext_auth = no
  14. first_valid_uid = 2
  15. mail_fsync = always
  16. mail_home = /var/spool/mail/%d/%1n/%n
  17. mail_location = mdbox:/var/spool/mail/%d/%1n/%n
  18. mail_plugins = quota
  19. mail_privileged_group = mail
  20. mailbox_list_index = yes
  21. managesieve_notify_capability = mailto
  22. 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 $
  23. oreverypart extracttext editheader imapflags notify imapsieve vnd.dovecot.imapsieve
  24. mbox_write_locks = fcntl
  25. mmap_disable = yes
  26. namespace {
  27. list = children
  28. location = mdbox:/var/spool/mail/%%d/%%1n/%%n
  29. prefix = shared/%%u/
  30. separator = /
  31. subscriptions = no
  32. type = shared
  33. }
  34. namespace inbox {
  35. inbox = yes
  36. location =
  37. mailbox Drafts {
  38. special_use = \Drafts
  39. }
  40. mailbox Junk {
  41. auto = subscribe
  42. autoexpunge = 4 weeks
  43. special_use = \Junk
  44. }
  45. mailbox Sent {
  46. special_use = \Sent
  47. }
  48. mailbox "Sent Messages" {
  49. special_use = \Sent
  50. }
  51. mailbox Trash {
  52. special_use = \Trash
  53. }
  54. prefix =
  55. separator = /
  56. type = private
  57. }
  58. passdb {
  59. args = /etc/dovecot/master-users
  60. driver = passwd-file
  61. master = yes
  62. }
  63. passdb {
  64. args = /etc/dovecot/dovecot-ldap.conf.ext
  65. driver = ldap
  66. }
  67. plugin {
  68. imapsieve_mailbox1_before = file:/etc/dovecot/sieve/report-spam.sieve
  69. imapsieve_mailbox1_causes = COPY
  70. imapsieve_mailbox1_name = Junk
  71. imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report-ham.sieve
  72. imapsieve_mailbox2_causes = COPY
  73. imapsieve_mailbox2_from = Junk
  74. imapsieve_mailbox2_name = *
  75. quota = dict:User quota::file:/var/spool/mail/%d/%1n/%n/dovecot-quota
  76. quota_grace = 10%%
  77. quota_rule = *:storage=512M
  78. quota_warning = storage=95%% quota-warning 95 %u
  79. quota_warning2 = storage=80%% quota-warning 80 %u
  80. sieve = file:/var/spool/mail/%d/%1n/%n/sieve/scripts/;active=/var/spool/mail/%d/%1n/%n/sieve/active-script.sieve
  81. sieve_after = /etc/dovecot/sieve/99-sieve_after-spam.sieve
  82. sieve_before = /etc/dovecot/sieve/98-dedup.sieve
  83. sieve_extensions = +notify +imapflags +editheader
  84. sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
  85. sieve_max_redirects = 25
  86. sieve_pipe_bin_dir = /usr/local/bin
  87. sieve_plugins = sieve_imapsieve sieve_extprograms
  88. sieve_redirect_envelope_from = orig_recipient
  89. }
  90. protocols = imap lmtp sieve
  91. service anvil {
  92. client_limit = 12000
  93. }
  94. service auth {
  95. client_limit = 12000
  96. inet_listener {
  97. port = 12345
  98. }
  99. }
  100. service doveadm {
  101. inet_listener {
  102. port = 24245
  103. }
  104. }
  105. service imap-login {
  106. inet_listener imap {
  107. port = 143
  108. }
  109. process_limit = 4096
  110. }
  111. service imap {
  112. process_limit = 4096
  113. }
  114. service ipc {
  115. client_limit = 6000
  116. }
  117. service lmtp {
  118. inet_listener lmtp {
  119. address = 192.168.25.213
  120. port = 2525
  121. }
  122. }
  123. service managesieve-login {
  124. inet_listener sieve {
  125. port = 4190
  126. }
  127. }
  128. service quota-warning {
  129. executable = script /usr/local/bin/quota-warning.sh
  130. unix_listener quota-warning {
  131. mode = 0666
  132. }
  133. }
  134. ssl_cert = </etc/dovecot/cert/mail-cert.pem
  135. ssl_key = # hidden, use -P to show it
  136. userdb {
  137. args = /etc/dovecot/dovecot-ldap-userdb.conf.ext
  138. driver = ldap
  139. override_fields = uid=dovecot gid=mail master_user=%u
  140. }
  141. protocol lmtp {
  142. mail_plugins = quota sieve
  143. }
  144. protocol imap {
  145. mail_max_userip_connections = 1000
  146. mail_plugins = quota imap_quota imap_sieve
  147. }
  148. local 192.168.25.0/24 {
  149. doveadm_password = # hidden, use -P to show it
  150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement