From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) Description of problem: Sendmail cannot use alias from LDAP, when the sendmail.cf file uses ldap -k in AliasFile. The identical sendmail.cf under redhat9 with sendmail-8.12.8 performs ldap alias lookups without problems. Digging into the problem, it appears that if sendmail is built again libsasl and not libsasl2, the problem goes away. Also -DSASL was specified instead of -DSASL=2 There seems to be some bug in libsasl2 that prevents ldap lookups. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Edit you sendmail.cf AliasFile to read aliases from LDAP.ie. AliasFile=/etc/aliases,ldap: -k "(&(objectclass=mailRecipient)(cn=% 0))" -v mail 2. Restart sendmail. 3. Run sendmail -bv <ldapuser>. Segmentation fault occurs. sendmail - bv user does not cause segfault. 4. This requires an ldap server of coruse. Actual Results: Segmentation Fault. Expected Results: user....deliverable: mail relay, host mailhub.realhost.com, user User.Name Additional info: The problem is there in sendmail-8.12.10-1 (WS3) but not in sendmail-8.12.8-4 (redhat9) The difference seems to be that the WS3 version uses sasl2, and When recompiled against sasl instead of sasl2 the problem goes away.
Pleas have a look at http://people.redhat.com/twoerner/SRPMS/3.0E/sendmail-8.12.11-3.src.rpm http://people.redhat.com/twoerner/RPMS/3.0E/sendmail-8.12.11-3.i386.rpm http://people.redhat.com/twoerner/RPMS/3.0E/sendmail-cf-8.12.11-3.i386.rpm http://people.redhat.com/twoerner/RPMS/3.0E/sendmail-devel-8.12.11-3.i386.rpm http://people.redhat.com/twoerner/RPMS/3.0E/sendmail-doc-8.12.11-3.i386.rpm This package will be in the next update.