Sendmail Ldap routing

Harley Race flyingboxcutter at yahoo.com
Fri Oct 29 00:08:48 UTC 2010


I am using plain vanilla install of Fedora 13 and sendmail (sendmail-8.14.4-5.fc13.i686).  In past versions of Fedora I was able to use sendmail to perform ldap-less routing using:
 
LDAPROUTE_DOMAIN(`mydomain.com')dnl
FEATURE(`ldap_routing',`hash -T<TMPF> /etc/mail/mailroutes',`null',`bounce')dnl

If I use the same settings in the sendmail.mc and try to build the sendmail.cf using the command:

./Build sendmail.cf

I get the following error:

*** WARNING: missing -T<TMPF> in second argument of FEATURE(`ldap_routing')


If I add -T<TMPF> to the second parameter like so

FEATURE(`ldap_routing',`hash -T<TMPF> /etc/mail/mailroutes',` -T<TMPF> `null'',`bounce')dnl

and build the sendmail.cf, I get the following error in maillog:

NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 173: readcf: config K line, map ldapmra: no map class

If I check sendmail.cf for ldapmra, where past version populated the field with null, this one will not.

What has changed in this version?




      


More information about the users mailing list