Advertisement
fliker09

/etc/dovecot/dovecot.conf

Jan 4th, 2015
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. # Dovecote configuration file
  2. protocols = imap
  3. listen = *
  4. shutdown_clients = yes
  5. mail_uid = vmail
  6. mail_gid = vmail
  7. first_valid_uid = 5000
  8. last_valid_uid = 5000
  9.  
  10. # Log files
  11. log_path = /var/log/dovecot.log
  12. log_timestamp = "%Y-%m-%d %H:%M:%S "
  13.  
  14. # SSL
  15. ssl = yes
  16. ssl_cert = </etc/dovecot/certificate/dovecot.pem
  17. ssl_key = </etc/dovecot/certificate/dovecot.key
  18.  
  19. # Расположение и формат файлов почты (%d - домен, %n - имя пользователя)
  20. mail_location = maildir:/home/vmail/%d/%n
  21.  
  22. protocol lda {
  23. auth_socket_path = /var/run/dovecot/auth-master
  24. log_path = /home/vmail/dovecot-deliver.log
  25. mail_plugins = sieve
  26. postmaster_address = postmaster@mail.tritoniada.tk
  27. }
  28.  
  29. namespace {
  30. inbox = yes
  31. location =
  32. prefix = INBOX.
  33. separator = .
  34. }
  35.  
  36. passdb {
  37. args = /etc/dovecot/dovecot-sql.conf
  38. driver = sql
  39. }
  40.  
  41. service auth {
  42. unix_listener /var/spool/postfix/private/auth {
  43. group = postfix
  44. mode = 0660
  45. user = postfix
  46. }
  47. unix_listener auth-master {
  48. mode = 0600
  49. user = vmail
  50. }
  51. user = root
  52. }
  53.  
  54. userdb {
  55. args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
  56. driver = static
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement