Q:What is the best way to locate the version of sendmail one is using?
I'm using whatever sendmail comes with SunOS 5.5.1, and, the manpages
don't seem to list a -version command (-v is verbose mode, but, I can't
seem to get it to spit out the version).
According to procmail digests, I want to at least make sure the sendmail is
version 8.8.5 or better.
Thanks for helping me and others,
John
Below I show one way to get this info. As you can see, SunOS 5.5.1 ships
with a Sun-modified version of SM v8.6
(drl(_at_)jester)1% /usr/lib/sendmail -d0.1 -bt
Version SMI-8.6
SYSTEM IDENTITY (after readcf):
(short domain name) $w = jester
(canonical domain name) $j = $w.$m
(subdomain name) $m = vuse
(node name) $k = mailhost
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
(drl(_at_)jester)2% uname -a
SunOS jester 5.5.1 Generic sun4c sparc SUNW,Sun_4_75
(drl(_at_)jester)3%