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

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