Operating System - HP-UX
1845458 Members
2421 Online
110244 Solutions
New Discussion

11i Sendmail authenticating on SNMP exchange server

 
Oscar Garcia
Regular Advisor

11i Sendmail authenticating on SNMP exchange server

Guys,

I need to send mail messages thru an application running on 11i to an SNMP server. Unfortunately the application does not understand SNMP AUTH and the messages never reach their destination.
I am not really sure what version of sendmail I am using, but from the man page I gather this:
"This version of HP-UX sendmail originally came from sendmail 8.9.3."
I have read a bit about this but I am still confused on what to do.
What do I need to do on the sendmail side to sort this out?

Thanks in advance,
7 REPLIES 7
Jeff_Traigle
Honored Contributor

Re: 11i Sendmail authenticating on SNMP exchange server

You certainly mean SMTP AUTH. SNMP has nothing to do with mail.

I did a Google search and found reference to Sendmail 8.11.1 on HP-UX supporting SMTP AUTH.

http://64.233.167.104/search?q=cache:GVxsmiHC0X0J:docs.hp.com/en/5991-7531/5991-7531.pdf+Hp+sendmail+send+auth&hl=en&ct=clnk&cd=5&gl=us

(See page 14 and 15.)

I'm guessing the 8.13.3 release also has that functionality. Both can be found on the software.hp.com site by searching sor sendmail.
--
Jeff Traigle
Steven E. Protter
Exalted Contributor

Re: 11i Sendmail authenticating on SNMP exchange server

Shalom,

All sendmail functionality in HP-UX works almost exactly the same as stock sendmail. The version of sendmail you use will not effect this functionality.

For security reasons you should upgrade to the latest version of sendmail from HP.

Anything the HP doc doesn't cover can be found on http://www.sendmail.org

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Matti_Kurkela
Honored Contributor

Re: 11i Sendmail authenticating on SNMP exchange server

(Which 11i are you running? 11i v1, v2 or v3?)

(You probably mean SMTP, not SNMP, right?)

Your sendmail is equivalent to Sendmail 8.9.3.
Looks like only sendmail 8.10.0 or better will understand SMTP AUTH.

Go to http://software.hp.com and search for "sendmail". You should find the "Sendmail 8.13.3 Special Release Upgrade" for 11i v1 and v2.

Then read this:
http://www.docs.hp.com/en/5991-6611/ch02s07.html#chbdcjej

It describes the /etc/mail/default-auth-info file, where you must put the authentication info.

MK
MK
Oscar Garcia
Regular Advisor

Re: 11i Sendmail authenticating on SNMP exchange server

Yes sorry, it is SMTP. I got confused...

I am downloading 8.13.3 for 11i v1 and I will keep you inform of the progress.

Thank you very much.
Oscar Garcia
Regular Advisor

Re: 11i Sendmail authenticating on SNMP exchange server

I have installed sendmail but as I could not find the
#O DefaultAuthInfo=/etc/mail/default-auth-info
line in the /etc/mail/sendmail.cf file
I decided to restart sendmail, well it came with this:
root @cpdabs01 > /sbin/init.d/sendmail start
Starting sendmail [ OK ]
Starting sm-client [FAILED]

For more information see /var/adm/syslog/mail.log

and this is the entry in mail.log:
Jun 7 12:12:44 cpdabs01 /sbin/init.d/sendmail[1933]: /etc/mail/submit.cf is missing

I cannot find that file anywhere and that FAILED does not look good either...

Any ideas?

Thanks,
Keith Johnson
Valued Contributor

Re: 11i Sendmail authenticating on SNMP exchange server

Check this link. It should shed some light on the submit.cf issue.

http://www.sendmail.org/security/secure-install.php
No matter where you go...there you are.
Oscar Garcia
Regular Advisor

Re: 11i Sendmail authenticating on SNMP exchange server

The problem was sorted configuring the relay in the /etc/mail/sendmail.cf and adding an entry "search" in the /etc/resolv.conf