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 3.12 KB | None | 0 0
  1. # 2.0.17 (684381041dc4+): /etc/dovecot/dovecot.conf
  2. # OS: OpenBSD 5.1 i386
  3. auth_master_user_separator = *
  4. auth_mechanisms = PLAIN LOGIN
  5. base_dir = /var/run/dovecot
  6. dict {
  7. acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  8. expire = db:/var/lib/dovecot/expire/expire.db
  9. quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
  10. }
  11. first_valid_uid = 1000
  12. last_valid_uid = 1000
  13. listen = *
  14. log_path = /var/log/dovecot.log
  15. mail_gid = 1000
  16. mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
  17. mail_uid = 1000
  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
  20. namespace {
  21. inbox = yes
  22. location =
  23. prefix =
  24. separator = /
  25. type = private
  26. }
  27. namespace {
  28. list = children
  29. location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
  30. prefix = Shared/%%u/
  31. separator = /
  32. subscriptions = yes
  33. type = shared
  34. }
  35. passdb {
  36. args = /etc/dovecot/dovecot-ldap.conf
  37. driver = ldap
  38. }
  39. passdb {
  40. args = /etc/dovecot/dovecot-master-users
  41. driver = passwd-file
  42. master = yes
  43. }
  44. plugin {
  45. acl = vfile
  46. acl_shared_dict = proxy::acl
  47. auth_socket_path = /var/run/dovecot/auth-master
  48. autocreate = INBOX
  49. autocreate2 = Sent
  50. autocreate3 = Trash
  51. autocreate4 = Drafts
  52. autocreate5 = Junk
  53. autosubscribe = INBOX
  54. autosubscribe2 = Sent
  55. autosubscribe3 = Trash
  56. autosubscribe4 = Drafts
  57. autosubscribe5 = Junk
  58. expire = Trash 7 Trash/* 7 Junk 30
  59. expire_dict = proxy::expire
  60. quota = dict:user::proxy::quotadict
  61. quota_rule = *:storage=1G
  62. quota_warning = storage=85%% quota-warning 85 %u
  63. quota_warning2 = storage=90%% quota-warning 90 %u
  64. quota_warning3 = storage=95%% quota-warning 95 %u
  65. sieve = /%Lh/sieve/dovecot.sieve
  66. sieve_dir = /%Lh/sieve
  67. sieve_global_dir = /data/pak/mail/sieve
  68. sieve_global_path = /data/pak/mail/sieve/dovecot.sieve
  69. }
  70. protocols = pop3 imap sieve
  71. service auth {
  72. unix_listener /var/spool/postfix/dovecot-auth {
  73. group = _postfix
  74. mode = 0666
  75. user = _postfix
  76. }
  77. unix_listener auth-master {
  78. group = vmail
  79. mode = 0666
  80. user = vmail
  81. }
  82. }
  83. service dict {
  84. unix_listener dict {
  85. group = vmail
  86. mode = 0660
  87. user = vmail
  88. }
  89. }
  90. service quota-warning {
  91. executable = script /usr/local/bin/dovecot-quota-warning.sh
  92. unix_listener quota-warning {
  93. group = vmail
  94. mode = 0660
  95. user = vmail
  96. }
  97. }
  98. ssl = required
  99. ssl_cert = </etc/ssl/iRedMail_CA.pem
  100. ssl_key = </etc/ssl/iRedMail.key
  101. userdb {
  102. args = /etc/dovecot/dovecot-ldap.conf
  103. driver = ldap
  104. }
  105. protocol lda {
  106. auth_socket_path = /var/run/dovecot/auth-master
  107. lda_mailbox_autocreate = yes
  108. log_path = /var/log/sieve.log
  109. mail_plugins = quota sieve autocreate
  110. postmaster_address = root
  111. }
  112. protocol imap {
  113. imap_client_workarounds = tb-extra-mailbox-sep
  114. mail_plugins = quota imap_quota autocreate
  115. }
  116. protocol pop3 {
  117. mail_plugins = quota
  118. pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  119. pop3_uidl_format = %08Xu%08Xv
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement