SHARE
TWEET

dovecot

ericroot Aug 16th, 2013 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. listen = *
  2. auth_mechanisms = plain login
  3. disable_plaintext_auth = no
  4. log_timestamp = "%Y-%m-%d %H:%M:%S "
  5. mail_location = maildir:/home/vmail/%d/%n
  6. namespace {
  7.   inbox = yes
  8.   location =
  9.   prefix = INBOX.
  10.   separator = .
  11.   type = private
  12. }
  13. # passdb {
  14. #  driver = pam
  15. # }
  16. passdb {
  17.   args = /etc/dovecot/dovecot-sql.conf
  18.   driver = sql
  19. }
  20. protocols = imap pop3
  21.  
  22. service auth {
  23.   unix_listener /var/spool/postfix/private/auth {
  24.     group = postfix
  25.     mode = 0600
  26.     user = postfix
  27.   }
  28.   unix_listener auth-master {
  29.     mode = 0600
  30.     user = vmail
  31.   }
  32.   user = root
  33. }
  34.  
  35. ssl = yes
  36. ssl_cert = </var/lib/ssl/certs/dovecot.pem
  37. ssl_key = </var/lib/ssl/private/dovecot.pem
  38.  
  39. userdb {
  40.   driver = passwd
  41. }
  42. userdb {
  43.   args = uid=501 gid=501 home=/home/vmail/%d/%n allow_all_users=yes
  44.   driver = static
  45. }
  46. protocol pop3 {
  47.   pop3_uidl_format = %08Xu%08Xv
  48. }
  49. protocol lda {
  50.   auth_socket_path = /var/run/dovecot/auth-master
  51.   log_path = /home/vmail/dovecot-deliver.log
  52.   mail_plugins = sieve
  53.   postmaster_address = postmaster@example.ru
  54. }
  55.  
  56. mail_debug = yes
  57. auth_debug = yes
  58. auth_debug_passwords = yes
  59. debug_log_path = /var/log/mail/dovecot-debug.log
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top