Advertisement
Guest User

Untitled

a guest
Jun 1st, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. so for jessy's dovecot :
  2.  
  3. /etc/dovecot/conf.d/10-master.conf
  4.  
  5. service auth {
  6.    # Postfix smtp-auth
  7.      unix_listener /var/spool/postfix/private/auth {
  8.        mode = 0666
  9.      user = postfix
  10.      group = postfix
  11.    }
  12.  
  13. /etc/dovecot/conf.d/10-auth.conf
  14.  
  15.    #!include auth-deny.conf.ext
  16.    #!include auth-master.conf.ext
  17.    #!include auth-system.conf.ext
  18.    #!include auth-sql.conf.ext
  19.    #!include auth-ldap.conf.ext
  20.    !include auth-passwdfile.conf.ext
  21.    #!include auth-checkpassword.conf.ext
  22.    #!include auth-vpopmail.conf.ext
  23.    #!include auth-static.conf.ext
  24.  
  25. /etc/dovecot/conf.d/auth-passwdfile.conf.ext
  26.    passdb {
  27.      driver = passwd-file
  28.      args = scheme=CRYPT username_format=%u /etc/dovecot/users
  29.    }
  30.  
  31.    userdb {
  32.      driver = passwd-file
  33.      args = username_format=%u /etc/dovecot/users
  34.    }
  35.  
  36. /etc/dovecot/conf.d/10-mail.conf
  37. mail_location = maildir:/var/vmail/%d/%n/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement