search for: mailtarget

Displaying 2 results from an estimated 2 matches for "mailtarget".

Did you mean: calltarget
2014 Feb 14
1
lda+ldap multiple users
...users. qmail has to resolve this alias "XY" into the users A and B. You could wrap your call to the Dovecot LDA by a script resolving the aliases somehow, e.g.: #!/bin/bash tmpf=/tmp/split.$$.tmp # save the message in case we have multiple recipients cat - >$tmpf ldapsearch "mailtarget=$1" samaccountname | \ awk '$1 == "sAMAccountName:" { print $2 } ' | \ while read uid; do dovecot-lda -d "$uid" ..... < $tmpf rc=$? if test $rc -gt 0; then rm -f $tmpf exit $rc fi done rm -f $tmpf adjust ldap query and attribute...
2014 Feb 14
1
lda+ldap multiple users
-----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 >