Hello,
I'm trying to setup a mailserver using qmail + vpopmail using openldap as backend.
I have compiled qmail 1.03 with ldap patch , vpopmail 5.4.13 with ldap suport , and OpenLDAP 2.2.24 .
What I want is to add a mail account in LDAP and when I send an email to this account , vpopmail shoul create automatically the Maildir.
Instead I got this error :
May 31 11:43:14 mirceah qmail: 1149064994.041020 delivery 1: deferral: Unable_to_switch_to_/home/vpopmail/domains/mirceah.rdsnet.ro/test:_access_denied._(#4.3.0)/
user entry in ldap :
dn: uid=test,ou=domain.com,ou=mail,dc=domain,dc=com
uid: test
userPassword:: e01ENX0kMSQzdlRONWpmTSRrbGdoMWNnakJWbzNnMzNGT0NIaEcv
qmaildomain: test
mail:
domain.com-test@domain.com
mailMessageStore: /home/vpopmail/domains/domain.com/test
objectClass: qmailUser
Another issue is that when a mail arrives qmail is using the filter mail=domain.com-user@domain.com to search the account instead of mail=user@domain.com