LDAP and dynamic base suffixes

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
anil [ Fr, 04 Januar 2008 20:30 ] [ ID #1900144 ]

Re: LDAP and dynamic base suffixes

Anil <replicase [at] gmail.com> 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 [at] priv.onet.pl : anfi [at] 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 [at] bryan.fsf.ho bby-site.com
Andrzej Filip [ Sa, 05 Januar 2008 21:32 ] [ ID #1900664 ]
Miscellaneous » comp.mail.sendmail » LDAP and dynamic base suffixes

Vorheriges Thema: Stats comp.mail.sendmail (last 7 days)
Nächstes Thema: currHeader not working