ldap and proxy/proxy_maybe

jjhoffart jjhoffart at icloud.com
Wed Nov 4 20:18:56 UTC 2015

   I am trying to setup dovecot director and am receiving a lot of "Aborted login (proxy dest auth failed)" and "error proxying loops to itself" messages in the dovecot log.

I don't fully understand the dovecot-ldap.conf file config? could someone please let me know if the following is correct. If so what could be causing the errors mentioned above, if not what needs to be corrected?

hosts           =
ldap_version    = 3
auth_bind       = yes
dn              = cn=vmail,dc=something,dc=somewhere
dnpass          = hi89Dfnptc55jRWG9oLQJUfWOH0CgV
base            = o=domains,dc=campus,dc=local
scope           = subtree
deref           = never

# Below two are required by command 'doveadm mailbox ...'
iterate_attrs   = mail=user
iterate_filter  = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail))

user_filter     = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(&(enabledService=shadowaddress)(shadowAddress=%u))))
user_attrs      = mail=user,homeDirectory=home,=mail=maildir:~/Maildir/,mailQuota=quota_rule=*:bytes=%$

# Used for dn lookup
pass_filter     = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(&(enabledService=shadowaddress)(shadowAddress=%u))))
pass_attrs      = mail=user,userPassword=password,someAttribute=proxy,hostName=host
default_pass_scheme = CRYPT

More information about the dovecot mailing list