Advertisement
Guest User

marawu

a guest
Feb 9th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. # 2.2.10: /etc/dovecot/dovecot.conf
  2. # OS: Linux 3.10.0-693.17.1.el7.x86_64 x86_64 CentOS Linux release 7.4.1708 (Core)
  3. auth_mechanisms = plain login
  4. base_dir = /var/run/dovecot/
  5. default_process_limit = 256
  6. doveadm_password = password
  7. dsync_remote_cmd = doveadm dsync-server -u%u
  8. first_valid_uid = 1000
  9. instance_name = mail02.domain.ru
  10. login_greeting = mail02.domain.ru ready.
  11. mail_gid = vmail
  12. mail_location = maildir:~/Maildir
  13. mail_plugins = " acl quota notify replication"
  14. mail_privileged_group = vmail
  15. mail_uid = vmail
  16. managesieve_notify_capability = mailto
  17. 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
  18. mbox_write_locks = fcntl
  19. namespace {
  20. list = children
  21. location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  22. prefix = shared/%%u/
  23. separator = /
  24. subscriptions = no
  25. type = shared
  26. }
  27. namespace inbox {
  28. inbox = yes
  29. location =
  30. mailbox Drafts {
  31. special_use = \Drafts
  32. }
  33. mailbox Junk {
  34. special_use = \Junk
  35. }
  36. mailbox Sent {
  37. special_use = \Sent
  38. }
  39. mailbox "Sent Messages" {
  40. special_use = \Sent
  41. }
  42. mailbox Trash {
  43. special_use = \Trash
  44. }
  45. prefix =
  46. separator = /
  47. type = private
  48. }
  49. passdb {
  50. args = /etc/dovecot/dovecot-ldap-people.conf.ext
  51. driver = ldap
  52. }
  53. passdb {
  54. args = /etc/dovecot/dovecot-ldap-mailbox.conf.ext
  55. driver = ldap
  56. }
  57. plugin {
  58. acl = vfile:/etc/dovecot/global-acls:cache_secs=300
  59. acl_shared_dict = file:/var/vmail/db/dovecot/dict/shared-mailboxes
  60. mail_replica = tcp:mail01.domain.ru:12345
  61. quota_rule = *:storage=1G
  62. quota_rule2 = Trash:storage=+100M
  63. replication_full_sync_interval = 1 hours
  64. sieve = ~/.dovecot.sieve
  65. sieve_dir = ~/sieve
  66. }
  67. protocols = imap lmtp
  68. service aggregator {
  69. fifo_listener replication-notify-fifo {
  70. user = vmail
  71. }
  72. unix_listener replication-notify {
  73. user = vmail
  74. }
  75. }
  76. service auth {
  77. unix_listener /var/spool/postfix/private/auth {
  78. group = postfix
  79. mode = 0666
  80. user = postfix
  81. }
  82. unix_listener auth-userdb {
  83. group = vmail
  84. mode = 0666
  85. user = vmail
  86. }
  87. }
  88. service doveadm {
  89. inet_listener {
  90. address = 10.10.20.21
  91. port = 12345
  92. }
  93. }
  94. service imap-login {
  95. inet_listener imap {
  96. address = 127.0.0.1
  97. port = 143
  98. }
  99. inet_listener imaps {
  100. address = *
  101. port = 993
  102. ssl = yes
  103. }
  104. service_count = 0
  105. }
  106. service imap {
  107. process_limit = 1024
  108. }
  109. service lmtp {
  110. user = vmail
  111. }
  112. service replicator {
  113. process_min_avail = 1
  114. unix_listener replicator-doveadm {
  115. mode = 0600
  116. }
  117. }
  118. ssl = required
  119. ssl_cert = </etc/pki/dovecot/certs/domain.ru.pem
  120. ssl_key = </etc/pki/dovecot/private/domain.ru.key.pem
  121. userdb {
  122. args = /etc/dovecot/dovecot-ldap-people.conf.ext
  123. driver = ldap
  124. override_fields = uid=vmail gid=vmail home=/var/vmail/%Ld/%Ln
  125. }
  126. userdb {
  127. args = /etc/dovecot/dovecot-ldap-mailbox.conf.ext
  128. driver = ldap
  129. override_fields = uid=vmail gid=vmail home=/var/vmail/%Ld/%Ln
  130. }
  131. protocol lda {
  132. mail_plugins = " acl quota notify replication sieve"
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement