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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. # The path to the user's main active script. If ManageSieve is used, this the
  47. # location of the symbolic link controlled by ManageSieve.
  48. sieve = ~/.dovecot.sieve
  49. #sieve_before = ~/sieve/01_vacation.sieve
  50. #sieve_extensions = +vacation +vacation-seconds
  51. # The default Sieve script when the user has none. This is a path to a global
  52. # sieve script file, which gets executed ONLY if user's private Sieve script
  53. # doesn't exist. Be sure to pre-compile this script manually using the sievec
  54. # command line tool.
  55. # --> See sieve_before fore executing scripts before the user's personal
  56. # script.
  57. #sieve_default = /var/lib/dovecot/sieve/default.sieve
  58. # Directory for :personal include scripts for the include extension. This
  59. # is also where the ManageSieve service stores the user's scripts.
  60. sieve_dir = ~/sieve
  61. # Directory for :global include scripts for the include extension.
  62. sieve_global_dir = /etc/dovecot/sieve/global/
  63. sieve_global_path = /etc/dovecot/sieve/default.sieve
  64. }
  65. service managesieve-login {
  66. inet_listener sieve {
  67. address = 0.0.0.0
  68. }
  69. }
  70. log_path = /dev/stderr
  71. postmaster_address = postmaster@example.org
  72. service lmtp {
  73. inet_listener lmtp {
  74. address = 0.0.0.0
  75. port = DOVECOT_LMTP_PORT
  76. }
  77. }