On Monday 07 April 2014 13:46:20 Deeztek Support wrote: > Dovecot version: 2.0.19 > ------------------------------------------------------- > grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf > > hosts = server.domain.tld:389 > ldap_version = 3 > auth_bind = yes > dn = vm...@domain.tld > dnpass = somepassword > base = ou=testou,dc=domain,dc=tld > scope = subtree > deref = never > user_filter = > (&(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.11 > 3556.1.4.803:=2))) pass_filter = > (&(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.11 > 3556.1.4.803:=2))) pass_attrs = userPassword=password > default_pass_scheme = CRYPT > user_attrs = > =home=/var/vmail/vmail1/%Ld/%Ln/Maildir/,=mail=maildir:/var/vmail/vmail1/%Ld > /%Ln/Maildir -----------------------------------------------------
Your %u need to be matched by the string postfix send to dovecot ( check your master.cf) As I say in a previous post, this filter is invoked from two parts, with (possible) different parameters : from authentication, with the username of the client, and from delivery, with usually the e-mail address or whatewer you set in postfix. IMHO is a bad design, but it works as is.