Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail

SOLVED
Go to solution
robert sears_1
Contributor

Sendmail

I recently found that I am on the orbs open mail relay bad list. I am running HPunix 10.2.
What command or syntax can I use to let me know what version of sendmail I am running? How can you tell if you have an "open relay"
Sears
4 REPLIES
Lasse Knudsen
Esteemed Contributor

Re: Sendmail

Look in /var/adm/syslog/mail.log.

Search for 'starting daemon' this entry tells you about the version.

You could also do 'telnet smtp'
In a world without fences - who needs Gates ?
Douglas Cromby_1
Valued Contributor

Re: Sendmail

To get the version do

telnet hostname 25

this will return the version.
Dave Kelly_1
Respected Contributor
Solution

Re: Sendmail

The DZ line in /etc/mail/sendmail.cf will show what version of the configuration file you are using.

Another method which also provides other useful troubleshooting information is

sendmail -d0.1
The output should look like:
Version 8.8.6 (PHNE_14041)
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
NETUNIX NEWDB NIS QUEUE SCANF SMTP USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = host
(canonical domain name) $j = $w.domain.com
(subdomain name) $m = domain.com
(node name) $k = host
========================================================

root... Recipient names must be specified
Dave Kelly_1
Respected Contributor

Re: Sendmail

The DZ line in /etc/mail/sendmail.cf will show what version of the configuration file you are using.

Another method which also provides other useful troubleshooting information is

sendmail -d0.1
The output should look like:
Version 8.8.6 (PHNE_14041)
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
NETUNIX NEWDB NIS QUEUE SCANF SMTP USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = host
(canonical domain name) $j = $w.domain.com
(subdomain name) $m = domain.com
(node name) $k = host
========================================================

root... Recipient names must be specified