Hi list and timo, I use dovecot lda with ldap to do a email => user lookup. I experienced that if a Mailaddress matches several users the delivery is aborted. ---------------- dovecot: auth: Error: ldap(christian.test at securepoint.de): LDAP search returned multiple entries dovecot: auth: ldap(christian.test at securepoint.de): unknown user dovecot: lda: Error: user christian.test at securepoint.de: Auth USER lookup failed ----------------- now my question, is there a way to have a mail like that delivered to all users that matches the lookup? havent found anything in the docs. thx in advance Matze
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 7 Feb 2014, matthias lay wrote:> I experienced that if a Mailaddress matches several users the delivery is > aborted. > > ---------------- > dovecot: auth: Error: ldap(christian.test@securepoint.de): LDAP search > returned multiple entries > dovecot: auth: ldap(christian.test@securepoint.de): unknown user > dovecot: lda: Error: user christian.test@securepoint.de: Auth USER lookup > failed > ----------------- > > now my question, is there a way to have a mail like that delivered to all > users that matches the lookup? > havent found anything in the docs.This is a job of your MTA. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv3FUnD1/YhP6VMHAQKvnQgAhSLwMXAd7iX2wKU3mQDHtEtRK0764xx4 zVOJboQb5S4ZTx8EGeLv5eE8jyv0IHtUR8i7rcmy3Pk2qfqntJT2omnQMUJWT2Yz o3eWnAxMhDAXegLAulEYv7ndQHRkzCviDt/KWwx7AKyFM6rBKhwvDPg0LUOFfVaB /hLsYD4OG21LAkZ7GdquyGNrSAhDHrYNVRXirhzLnJQ/UadRsdv/gJb5FMsMH0Sx hR4tM5t8Enuu69d0mVt14wRbVEIccLTQR+8GvNWRbVXZjnmRvCr+8OlnU87JIbp0 hhMXlbnoQbtHWOPjU/IveqIPgYj6tp4nibJ+2OtfbdywWXfw64Olog==AV6P -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 7 Feb 2014, matthias lay wrote:> I experienced that if a Mailaddress matches several users the delivery is > aborted. > > ---------------- > dovecot: auth: Error: ldap(christian.test at securepoint.de): LDAP search > returned multiple entries > dovecot: auth: ldap(christian.test at securepoint.de): unknown user > dovecot: lda: Error: user christian.test at securepoint.de: Auth USER lookup > failed > ----------------- > > now my question, is there a way to have a mail like that delivered to all > users that matches the lookup? > havent found anything in the docs.This is a job of your MTA. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv3FUnD1/YhP6VMHAQKvnQgAhSLwMXAd7iX2wKU3mQDHtEtRK0764xx4 zVOJboQb5S4ZTx8EGeLv5eE8jyv0IHtUR8i7rcmy3Pk2qfqntJT2omnQMUJWT2Yz o3eWnAxMhDAXegLAulEYv7ndQHRkzCviDt/KWwx7AKyFM6rBKhwvDPg0LUOFfVaB /hLsYD4OG21LAkZ7GdquyGNrSAhDHrYNVRXirhzLnJQ/UadRsdv/gJb5FMsMH0Sx hR4tM5t8Enuu69d0mVt14wRbVEIccLTQR+8GvNWRbVXZjnmRvCr+8OlnU87JIbp0 hhMXlbnoQbtHWOPjU/IveqIPgYj6tp4nibJ+2OtfbdywWXfw64Olog==AV6P -----END PGP SIGNATURE-----
On 02/14/2014 08:27 AM, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 7 Feb 2014, matthias lay wrote: > >> I experienced that if a Mailaddress matches several users the >> delivery is aborted. >> >> ---------------- >> dovecot: auth: Error: ldap(christian.test at securepoint.de): LDAP >> search returned multiple entries >> dovecot: auth: ldap(christian.test at securepoint.de): unknown user >> dovecot: lda: Error: user christian.test at securepoint.de: Auth USER >> lookup failed >> ----------------- >> >> now my question, is there a way to have a mail like that delivered to >> all users that matches the lookup? >> havent found anything in the docs. > > This is a job of your MTA.Hi Steffen, MTA is qmail and doesnt know anything about users. dovecot uses usernames for mailboxes. lets say /var/mail/userA/Maildir /var/mail/userB/Maildir both users have mailaddr XY at example.com mapped in Active Directory. Now when mails arrive lda is called like dovecot-lda -d XY at example.com <mailto:dafan.zhai at securepoint.de> -m INBOX and theres my problem.