Guest User

Untitled

a guest
Jun 20th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. disable_plaintext_auth = yes
  2. auth_mechanisms = plain login
  3. protocols = imap
  4. service auth {
  5. unix_listener /var/spool/postfix/private/auth {
  6. group = postfix
  7. mode = 0660
  8. user = postfix
  9. }
  10. }
  11. passdb {
  12. driver = ldap
  13. args = /etc/dovecot/dovecot-ldap.conf
  14. }
  15. userdb {
  16. driver = ldap
  17. args = /etc/dovecot/dovecot-ldap.conf
  18. }
  19. ssl_cert =</etc/pki/tls/certs/ca.crt
  20. ssl_key = </etc/pki/tls/private/ca.key
  21. mail_home = /var/mail/vmail/%d/%n
  22. mail_location = maildir:~/mail
  23.  
  24. # debug logging
  25. auth_debug = yes
  26. auth_verbose = yes
  27. #auth_debug_passwords = yes
  28. verbose_ssl = yes
  29. mail_debug = yes
  30.  
  31.  
  32. --------------------------------
  33. dovecot-ldap.conf
  34. hosts = ldap.domain.net
  35. sasl_bind = yes
  36. dn = cn=ldapadmin,dc=domain,dc=net
  37. dnpass = pass
  38. auth_bind = yes
  39. auth_bind_userdn = cn=%u,ou=People,dc=domain,dc=net
  40. base = dc=domain,dc=net
  41. scope = subtree
  42. #user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid
  43. user_attrs = %n,%Dd=user
  44. pass_attrs = mail=user, userPassword=password
  45. pass_filter = (&(objectClass=inetOrgPerson)(mail=%u))
Add Comment
Please, Sign In to add comment