Technical article 125738

How can I tell what the compile options were for my version of Sendmail?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.3Open UNIX 8

Written · Last revised

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 root
Version 8.12.9
Compiled 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 root

Another very useful way of revealing similar information on most systems is as follows;

root# echo '$=R' | /usr/lib/sendmail -bt -d0.4
Version 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.

From the Xinuos technical article database, record 125738. Reproduced with permission. The original is at www.sco.com/ta/125738, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.