ZhangHuangbin wrote:Can you please paste content of /etc/postfix/ldap_virtual_mailbox_domains.cf? (HIDE PASSWORD BEFORE POST)
And LDIF data of your primary domain.
ldap_virtual_mailbox_domains.cf:
server_host = 127.0.0.1
server_port = 389
bind = yes
start_tls = no
version = 3
bind_dn = cn=vmail,dc=advies4you,dc=nl
bind_pw = [password]
search_base = o=domains,dc=advies4you,dc=nl
scope = one
query_filter = (&(objectClass=mailDomain)(|(domainName=%s)(&(enabledService=domainalias)(domainAliasName=%s)))(!(domainBackupMX=yes))(accountStatus=active)(enabledService=mail))
result_attribute= domainName
debuglevel = 0
LDIF:
dn: domainName=vcn.nl,o=domains,dc=advies4you,dc=nl
accountSetting: defaultQuota:25
accountSetting: minPasswordLength:6
accountSetting: defaultList:iedereen@vcn.nl
accountStatus: active
cn: VCN
domainAliasName: deverzekeringcombinatie.nl
domainAliasName: depensioenketen.nl
domainAliasName: deverzekeringsketen.nl
domainAliasName: depensioencombinatie.nl
domainAliasName: despaarcombinatie.nl
domainAliasName: dehypotheekketen.nl
domainAliasName: dehypotheekcombinatie.nl
domainAliasName: deleencombinatie.nl
domainCurrentAliasNumber: 68
domainCurrentListNumber: 1
domainCurrentQuotaSize: 8713666560
domainCurrentUserNumber: 89
domainName: vcn.nl
enabledService: mail
enabledService: domainalias
mtaTransport: dovecot
objectClass: mailDomain