Advertisement
Guest User

/etc/dovecot/dovecot.conf

a guest
Oct 8th, 2014
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. # Dovecote configuration file
  2. protocols = imap pop3
  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_cert = </etc/dovecot/certificate/dovecot.pem
  16. ssl_key = </etc/dovecot/certificate/dovecot.key
  17.  
  18. # Расположение и формат файлов почты (%d - домен, %n - имя пользователя)
  19. mail_location = maildir:/home/vmail/%d/%n
  20.  
  21. protocol lda {
  22. auth_socket_path = /var/run/dovecot/auth-master
  23. log_path = /home/vmail/dovecot-deliver.log
  24. mail_plugins = sieve
  25. postmaster_address = HiT0k@list.ru
  26. }
  27.  
  28. namespace {
  29. inbox = yes
  30. location =
  31. prefix = INBOX.
  32. separator = .
  33. }
  34.  
  35. passdb {
  36. args = /etc/dovecot/dovecot-sql.conf
  37. driver = sql
  38. }
  39.  
  40. service auth {
  41. unix_listener /var/spool/postfix/private/auth {
  42. group = postfix
  43. mode = 0660
  44. user = postfix
  45. }
  46. unix_listener auth-master {
  47. mode = 0600
  48. user = vmail
  49. }
  50. user = root
  51. }
  52.  
  53. userdb {
  54. args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
  55. driver = static
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement