[Date Prev][Date Next] [Chronological] [Thread] [Top]

Sendmail - getting closer...



trying to get sendmail wired into the local domains...

from slapd.log (loglevel 128) I can see sendmail is looking...

Dec 23 09:56:12 linserv2 slapd[23212]: daemon: conn=2371 fd=15
connection from IP=127.0.0.1:59266 (IP=0.0.0.0:389) accepted.
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=0 BIND
dn="CN=ROOT,O=MULLEN,C=US" method=128
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=0 RESULT tag=97
err=0 text=
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=1 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-DAEMON))"
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=1 SEARCH RESULT
tag=101 err=0 text=
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=2 SRCH
base="ou=People,o=Mullen,c=US" scope=1
filter="(&(objectClass=posixAccount)(uid=MAILER-DAEMON))"
Dec 23 09:56:12 linserv2 slapd[23212]: conn=2371 op=2 SEARCH RESULT
tag=101 err=0 text=
Dec 23 09:56:12 linserv2 slapd[23212]: conn=-1 fd=15 closed

per ../sendmail-cf/README I added to sendmail.mc...

define(`confLDAP_DEFAULT_SPEC',`-h "linserv2.mullenpr.com" -b
"o=Mullen,c=US"')dnl
LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldapdomains')dnl
FEATURE(ldap_routing)dnl

and /etc/mail/ldapddomains (covering my bases)...
localhost
localhost.localdomain
mullenpr.com
mullenadv.com
phoenix.mullenpr.com
phoenix.mullenadv.com
www.mullenpr.com
www.mullenadv.com
mail.mullenpr.com
mail.mullenadv.com
linserv1.mullenpr.com
linserv1.mullenadv.com
linserv2.mullenpr.com
linserv2.mullenadv.com

and the following snippage from ldapsearch...
# nkelley, People, Mullen, US
dn: uid=nkelley, ou=People,o=Mullen,c=US
cn: Nicole Kelley
uid: nkelley
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgperson
objectClass: sambaSamAccount
objectClass: inetLocalMailRecipient
mailLocalAddress: nkelley@mullenpr.com
mailHost: linserv2.mullenpr.com
mailRoutingAddress: nkelley@linserv2.mullenpr.com

from maillog
Dec 23 09:56:12 linserv2 sm-msp-queue[28937]: hBNGsJpU028853:
to=nkelley@mullenpr.com, ctladdr=root (0/0), delay=00:01:53,
xdelay=00:00:00, mailer
=relay, pri=120149, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
stat=Deferred
Dec 23 09:56:12 linserv2 sm-msp-queue[28937]: hBNGfL0p028648: to=root,
delay=00:14:51, xdelay=00:00:00, mailer=relay, pri=301360,
relay=[127.0.0.1
], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]