You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dovecot.conf 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # 2.1.7: /etc/dovecot/dovecot.conf
  2. # OS: Linux 2.6.35.8-ikhpv1 x86_64 Debian 7.6 ext3
  3. mail_debug = yes
  4. auth_mechanisms = plain login
  5. auth_verbose = yes
  6. first_valid_gid = 7788
  7. first_valid_uid = 7788
  8. last_valid_gid = 7788
  9. last_valid_uid = 7788
  10. log_timestamp = "%Y-%m-%d %H:%M:%S "
  11. mail_location = maildir:/var/email/%d/%n/Maildir:LAYOUT=fs
  12. mail_privileged_group = email
  13. passdb {
  14. args = /etc/dovecot/dovecot-pgsql.conf
  15. driver = sql
  16. }
  17. protocols = imap pop3 sieve lmtp
  18. service auth {
  19. executable = /usr/lib/dovecot/auth
  20. inet_listener {
  21. port = DOVECOT_SASL_PORT
  22. address = 0.0.0.0
  23. }
  24. unix_listener auth-master {
  25. group = email
  26. mode = 0600
  27. user = email
  28. }
  29. }
  30. ssl_ca = </etc/ssl/private/mail-chain.crt
  31. ssl_cert = </etc/ssl/private/mail.crt
  32. ssl_key = </etc/ssl/private/mail.key
  33. userdb {
  34. args = /etc/dovecot/dovecot-pgsql.conf
  35. driver = sql
  36. }
  37. protocol lda {
  38. auth_socket_path = /var/run/dovecot/auth-master
  39. mail_plugins = sieve
  40. postmaster_address = postmaster@example.org
  41. }
  42. protocol lmtp {
  43. mail_plugins = sieve
  44. }
  45. plugin {
  46. sieve = ~/.dovecot.sieve
  47. sieve_dir = ~/sieve
  48. sieve_global_dir = /etc/dovecot/sieve/include/
  49. sieve_default = /etc/dovecot/sieve/default.sieve
  50. sieve_before = /etc/dovecot/sieve/before/
  51. sieve_after = /etc/dovecot/sieve/after/
  52. }
  53. service managesieve-login {
  54. inet_listener sieve {
  55. address = 0.0.0.0
  56. }
  57. }
  58. log_path = /dev/stderr
  59. postmaster_address = postmaster@example.org
  60. service lmtp {
  61. inet_listener lmtp {
  62. address = 0.0.0.0
  63. port = DOVECOT_LMTP_PORT
  64. }
  65. }
  66. namespace inbox {
  67. type = private
  68. separator = .
  69. inbox = yes
  70. mailbox Drafts {
  71. special_use = \Drafts
  72. auto = subscribe
  73. }
  74. mailbox Junk {
  75. special_use = \Junk
  76. auto = create
  77. }
  78. mailbox spam {
  79. special_use = \Junk
  80. auto = no
  81. }
  82. mailbox Spam {
  83. special_use = \Junk
  84. auto = no
  85. }
  86. mailbox Trash {
  87. special_use = \Trash
  88. auto = subscribe
  89. }
  90. mailbox TRASH {
  91. special_use = \Trash
  92. auto = no
  93. }
  94. mailbox Sent {
  95. special_use = \Sent
  96. auto = subscribe
  97. }
  98. mailbox "Sent Mail" {
  99. special_use = \Sent
  100. auto = no
  101. }
  102. mailbox "Sent Messages" {
  103. special_use = \Sent
  104. auto = no
  105. }
  106. mailbox Archive {
  107. special_use = \Archive
  108. auto = create
  109. }
  110. mailbox "Archives" {
  111. special_use = \Archive
  112. auto = no
  113. }
  114. }