Problem
I want to implement a new Sendmail feature.
To do this I need to know what options were compiled in to the SCO-supplied Sendmail binary when it was built.
How do I check these compile options? Solution
According to http://www.sendmail.org/%7Eca/email/auth.html, running the following command will give you a list of compile options as per output below.
# /usr/lib/sendmail -d0.1 -bv rootVersion 8.12.9Compiled with:DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB NIS PIPELINING SCANF USERDB XDEBUG
============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = ielab08
(canonical domain name) $j = ielab08.test.sco.com
(subdomain name) $m = test.sco.com
(node name) $k = ielab08
========================================================root... deliverable: mailer local, user rootAnother very useful way of revealing similar information on most systems is as follows;
root# echo '$=R' | /usr/lib/sendmail -bt -d0.4Version 8.9.3
Compiled with: LDAPMAP LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM
NETINET NETUNIX NEWDB NIS QUEUE SCANF SMTP USERDB XDEBUG
canonical name: oemblurb.ie.sco.com
a.k.a.: oemblurb
a.k.a.: oemblurb.ie
UUCP nodename: oemblurb
a.k.a.: [10.0.151.151]
a.k.a.: [127.0.0.1]============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = oemblurb
(canonical domain name) $j = oemblurb.ie.sco.com
(subdomain name) $m = ie.sco.com
(node name) $k = oemblurb
========================================================ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)NOTE: You may need to adjust the sendmail path to suit your server.