Guest User

dovecot

a guest
Dec 23rd, 2015
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. auth_debug = yes
  2. auth_gssapi_hostname = mail2.test.valami.hu
  3. auth_krb5_keytab = /etc/dovecot/dovecot.keytab
  4. auth_mechanisms = gssapi plain
  5. first_valid_gid = 100
  6. first_valid_uid = 100
  7. log_path = /var/log/dovecot.message
  8. mail_gid = vmail
  9. mail_location = maildir:~/Maildir
  10. mail_uid = vmail
  11. managesieve_notify_capability = mailto
  12. 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
  13. namespace {
  14. list = children
  15. location = maildir:/var/mail/%%u:INDEX=/var/mail/%u/shared/%%u
  16. prefix = shared/%%u/
  17. separator = /
  18. type = shared
  19. }
  20. namespace inbox {
  21. inbox = yes
  22. location =
  23. mailbox Drafts {
  24. special_use = \Drafts
  25. }
  26. mailbox Junk {
  27. special_use = \Junk
  28. }
  29. mailbox Sent {
  30. special_use = \Sent
  31. }
  32. mailbox "Sent Messages" {
  33. special_use = \Sent
  34. }
  35. mailbox Trash {
  36. special_use = \Trash
  37. }
  38. prefix =
  39. separator = /
  40. }
  41. passdb {
  42. args = /etc/dovecot/dovecot-sql.conf
  43. driver = sql
  44. }
  45. passdb {
  46. args = /etc/dovecot/dovecot-ldap.conf
  47. driver = ldap
  48. }
  49. passdb {
  50. args = nopassword=y allow_nets=127.0.0.1/23
  51. driver = static
  52. }
  53. plugin {
  54. acl = vfile
  55. acl_shared_dict = file:/var/mail/shared-mailboxes.db
  56. quota = maildir
  57. quota_rule2 = Trash:storage=+100M
  58. quota_warning = storage=95%% quota-warning 95 %u
  59. quota_warning2 = storage=80%% quota-warning 80 %u
  60. quota_warning3 = -storage=80%% quota-warning below %u
  61. sieve = /var/mail/%n/sieve/%n.sieve
  62. sieve_dir = /var/mail/%n/sieve/
  63. }
  64. protocols = lmtp imap pop3 sieve
  65. service auth-worker {
  66. unix_listener auth-worker {
  67. group = postfix
  68. mode = 0666
  69. user = postfix
  70. }
  71. user = $default_internal_user
  72. }
  73. service auth {
  74. unix_listener /var/spool/postfix/private/auth {
  75. group = postfix
  76. mode = 0666
  77. user = postfix
  78. }
  79. unix_listener auth-userdb {
  80. user = vmail
  81. }
  82. }
  83. service lmtp {
  84. executable = lmtp -L
  85. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  86. group = postfix
  87. mode = 0600
  88. user = postfix
  89. }
  90. user = vmail
  91. }
  92. service managesieve-login {
  93. inet_listener sieve {
  94. port = 4190
  95. }
  96. inet_listener sieve_deprecated {
  97. port = 2000
  98. }
  99. service_count = 1
  100. }
  101. service quota-warning {
  102. executable = script /usr/local/bin/quota-warning.sh
  103. unix_listener quota-warning {
  104. user = vmail
  105. }
  106. user = vmail
  107. }
  108. ssl_ca = </etc/ssl/mail/Valami.hu.CA.crt
  109. ssl_cert = </etc/ssl/mail/mail2.test.valami.hu.crt
  110. ssl_key = </etc/ssl/mail/mail2.test.valami.hu.pem
  111. userdb {
  112. args = /etc/dovecot/dovecot-ldap.conf
  113. driver = ldap
  114. }
  115. userdb {
  116. args = uid=108 gid=117 home=/var/mail/%n allow_all_users=yes
  117. driver = static
  118. }
  119. protocol lmtp {
  120. info_log_path = /var/log/dovecot-lmtp.log
  121. mail_plugins = quota sieve
  122. }
  123. protocol imap {
  124. mail_plugins = quota imap_quota imap_acl acl
  125. }
  126. protocol pop3 {
  127. pop3_uidl_format = %08Xu%08Xv
  128. }
Advertisement
Add Comment
Please, Sign In to add comment