Advertisement
Guest User

dovecot config

a guest
Jun 19th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. # 2.1.7: /etc/dovecot/dovecot.conf
  2. # OS: Linux 3.5.0-17-generic x86_64 Ubuntu 12.10 ext4
  3. auth_mechanisms = plain login
  4. dict {
  5. quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  6. }
  7. log_path = /var/log/dovecot.log
  8. mail_gid = mail
  9. mail_location = maildir:/var/mail/%d/%n/Maildir
  10. mail_plugins = " quota"
  11. mail_uid = vmail
  12. managesieve_notify_capability = mailto
  13. 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
  14. passdb {
  15. args = /etc/dovecot/dovecot-sql.conf.ext
  16. driver = sql
  17. }
  18. plugin {
  19. quota = maildir:User quota
  20. sieve = /var/mail/%d/%n/.dovecot.sieve
  21. sieve_dir = /var/mail/%d/%n/sieve
  22. }
  23. protocols = imap pop3 sieve
  24. service auth-worker {
  25. user = $default_internal_user
  26. }
  27. service auth {
  28. unix_listener /var/spool/postfix/private/auth {
  29. group = postfix
  30. mode = 0600
  31. user = postfix
  32. }
  33. unix_listener /var/spool/postfix/private/dovecot-auth {
  34. group = postfix
  35. mode = 0660
  36. user = postfix
  37. }
  38. unix_listener auth-userdb {
  39. group = mail
  40. mode = 0660
  41. user = vmail
  42. }
  43. }
  44. service dict {
  45. unix_listener dict {
  46. group = mail
  47. user = vmail
  48. }
  49. }
  50. service imap-login {
  51. inet_listener imaps {
  52. port = 993
  53. ssl = yes
  54. }
  55. }
  56. service lmtp {
  57. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  58. group = postfix
  59. mode = 0666
  60. user = postfix
  61. }
  62. user = vmail
  63. }
  64. service managesieve-login {
  65. inet_listener sieve {
  66. port = 4190
  67. }
  68. inet_listener sieve_deprecated {
  69. port = 2000
  70. }
  71. }
  72. service pop3-login {
  73. inet_listener pop3s {
  74. port = 995
  75. ssl = yes
  76. }
  77. }
  78. ssl_ca = </etc/ssl/certs/PositiveSSL.ca-bundle
  79. ssl_cert = </etc/ssl/certs/******.crt
  80. ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
  81. ssl_key = </etc/ssl/private/*******.key
  82. userdb {
  83. args = /etc/dovecot/dovecot-sql.conf.ext
  84. driver = sql
  85. }
  86. verbose_proctitle = yes
  87. protocol imap {
  88. imap_client_workarounds = delay-newmail
  89. mail_max_userip_connections = 10
  90. mail_plugins = " quota imap_quota"
  91. }
  92. protocol pop3 {
  93. mail_max_userip_connections = 10
  94. pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  95. }
  96. protocol lda {
  97. deliver_log_format = msgid=%m: %$
  98. mail_plugins = sieve quota
  99. postmaster_address = postmaster
  100. quota_full_tempfail = yes
  101. rejection_reason = Your message to <%t> was automatically rejected:%n%r
  102. }
  103. protocol lmtp {
  104. mail_plugins = " quota sieve quota"
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement