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

interfacing with sendmail



OK - perhaps a sendmail question but I need to learn to debug these
things and this doesn't make sense to me. Ideas came from LDAP System
Administration, Gerald Carter, O'Reilly Publisher

Red Hat AS 3 - openldap 2.0.27-11 sendmail 8.12.10-1

created 
dn:
sendmailMTAKey=postmaster,ou=aliases,ou=sendmail,ou=services,o=Mullen,c=US LDAP entries and all of the structure to support it.

added to sendmail.mc :
define(confLDAP_DEFAULT_SPEC, `-h linserv2.mullenpr.com')dnl
dnl #
define(`ALIAS_FILE', `ldap:-k
(&(objectClass=sendmailMTAAliasObject)(sendmailMTAKey=%0)) -v
sendmailMTAAliasValue -b
"ou=aliases,ou=sendmail,ou=services,o=Mullen,c=US"')dnl

it works...
# ldapsearch -x -h localhost -b "o=Mullen,c=US"
'(sendmailMTAKey=postmaster)'
version: 2

#
# filter: (sendmailMTAKey=postmaster)
# requesting: ALL
#

# postmaster, aliases, sendmail, services, Mullen, US
dn:
sendmailMTAKey=postmaster,ou=aliases,ou=sendmail,ou=services,o=Mullen,c=US
objectClass: sendmailMTAAliasObject
sendmailMTAAliasValue: root
sendmailMTAAliasValue: craig@mullenpr.com
sendmailMTAKey: postmaster

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

did make -C /etc/mail

so far so good...

now the problem...

# sendmail -bv postmaster
Segmentation fault

slapd.log says...
Dec 22 09:44:46 linserv2 slapd[23212]: daemon: conn=92 fd=8 connection
from IP=192.168.10.7:56957 (IP=0.0.0.0:389) accepted.
Dec 22 09:44:46 linserv2 slapd[23212]: conn=-1 fd=8 closed

which means it never did search

Is this something that anyone can direct me on?

Thanks,

Craig