[Date Prev][Date Next]
Re: Openldap and Sendmail - Is someone know how t do ?
Fabrice Nouet wrote:
> Hello all,
> I try to use sendmail with Openldap.
> After including ldap libraries (-lldap -llber ) to enable sendmail
> to work with Openldap,
> I added the below line to my sendmail.cf
> Kluser ldapx -b "o=Top" -h "localhost" -k "maildrop=%s" -v mail
"o=Top" does not give you a search in the context "ou=org,o=Top"
> In my ldap base I have such an entry:
> objectclass: Top
> objectclass: organizationUnit
> objectclass: User
> cn: test
> mail: firstname.lastname@example.org
> maildrop: logintest
> I created a Unix count which name is logintest
> and now I try to send a email like this:
> mail email@example.com
Shouldn't you send the mail to "logintest" ?
> This doesnot work !!!!!
> Is someone has an idea about what is wrong ?
The configuration of ldap in sendmail 8.10 (beta10) is much improved.
I have a config that looks like:
O LDAPDefaultSpec= -h "localhost" -b"o=myorg,c=country"
O AliasFile=ldap: -k uid=%s -v "forward"
Tom Helmer Jensen, System Manager, Computer Science
Roskilde University. Building 42.1, P.O. BOX 260, DK-4000 Denmark
WWW: http://www.dat.ruc.dk/~thelmer E-mail: mailto://firstname.lastname@example.org
Voice: +45 4674 3829 Fax: +45 4674 3072 Private: +45 3876 1506