LDAP and dynamic base suffixes

LDAP and dynamic base suffixes

am 04.01.2008 20:30:33 von anil

I have multiple LDAP suffixes that are like virtual domains:
o=sendmail.com
o=dns.com

I would like sendmail to lookup its LDAP data (aliases, routing...) in
the appropriate suffix based on the recipients mail domain.

Explicitly using confLDAP_DEFAULT_SPEC with -b o=dns.com, obviously
limits it to just the dns.com domain.


Thanks

Re: LDAP and dynamic base suffixes

am 05.01.2008 21:32:02 von Andrzej Filip

Anil writes:

> I have multiple LDAP suffixes that are like virtual domains:
> o=sendmail.com
> o=dns.com
>
> I would like sendmail to lookup its LDAP data (aliases, routing...) in
> the appropriate suffix based on the recipients mail domain.
>
> Explicitly using confLDAP_DEFAULT_SPEC with -b o=dns.com, obviously
> limits it to just the dns.com domain.

It should be possible to implement for ldap_routing via changes in
sendmail.cf in sendmail-8.14.0+ (-K switch for ldap map).
[ a few lines patch of cf/m4/proto.m4 ]

Using "domanized aliases" is a more tricky task.
In default sendmail configuration aliases are expanded from
"domain stripped" addresses.

Are you ready to be a tester of ldap_routing "extensions"?

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
"You'll pay to know what you really think."
-- J. R. "Bob" Dobbs
----
http://groups.google.com/groups?selm=87fxxcdnel@bryan.fsf.ho bby-site.com