2 # See /usr/share/libpam-ldap/ldap.conf for example configuration and more
6 # Dovecot-specific version of pam_ldap.conf that checks the mailHost attribute
7 # instead of the "host" attribute, so people without SSH access can still use
8 # IMAP, and only people whose mail is delivered on this host can use IMAP.
10 # The distinguished name of the search base.
11 base dc=drsnuggles,dc=stderr,dc=nl
13 # The LDAP server. ldaps:// is secure, ldapi:// is local socket
14 uri ldap://ldap.drsnuggles.stderr.nl
16 # The LDAP version to use
19 # Only allow people to login to dovecot when their email is delivered here.
20 # Too bad this uses a hardcoded hostname, though...
21 pam_filter mailHost=mail.drsnuggles.stderr.nl