Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail and ldap

Status
Not open for further replies.
Aug 27, 2003
2
TT
Hi All,

I'm trying to send a mail through a test sendmail server compiled with ldap and the mail is returning undelivered. The test server is built using RedHat Advance Server, sendmail 8.11.6, and openldap 2.0.21-1. The ldap email client is successfully searching the ldap database.

I have created both the /etc/mail/relay-domains file and the /etc/mail/access file. I have tested these using:

sendmail -bt
ADDRESS TEST MODE <ruleset 3 NOT automatically invoked>
Enter <ruleset> <address>
> $=R
example.com

also with: sendmail -bt
ADDRESS TEST MODE <ruleset 3 NOT automatically invoked>
Enter <ruleset> <address>
>/map access example.com
map_lookup: access <example.com> returns RELAY (0)
>

I have also included the following FEATURE in the sendmail.mc file:
FEATURE(`RELAY_ENTIRE_DOMAIN')dnl

and the mail is still undelivered. I have tried everything that I have read on various sites.

Is there something I can try?


Thanks
 
If you enable FEATURE(`RELAY_ENTIRE_DOMAIN')dnl you will be relaying for entire class $M. Not a very good idea, if I were you I would remove this line altogether a.s.a.p

There is no God, only 10001010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top