Operating System - HP-UX
1833800 Members
2326 Online
110063 Solutions
New Discussion

Re: SETUP sendmail in HP-UX 11.0

 
Nago
Advisor

SETUP sendmail in HP-UX 11.0

please can someone help me with a procedure to setup mailx in my HP-UX 11.0. does it have to do with sendmail? if it does, how do i go about configuring it. I need t have HP-YX 11.0 send mail to through MS Exchange 5.5 on the intranet. Thanks a lot.
3 REPLIES 3
Michael Tully
Honored Contributor

Re: SETUP sendmail in HP-UX 11.0

The simplest way (as long as you have your DNS set up correctly) is to add the hostname of your exchange server in the /etc/mail/sendmail.cf file where is states

DS

to be
DSmyexch_server_name

Save the file and restart sendmail
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: SETUP sendmail in HP-UX 11.0

In your /etc/mail/sendmail.cf

file

Make sure that you have these entries.

1.
DSeg.
DSpsldns
(psldns is my smtp server name)

2.add the domain name to Dj$w

Dj$w.hp.com

Make sure that you could do a nslookup of your smtp server



#nslookup

If this is not working check whether the smtp server name is there on the DNS server for to resolve.
or check whether it is there in your hosts file.


Restart sendmail.
/sbin/init.d/sendmail stop & start.


Post your results

Thanks
Steven E. Protter
Exalted Contributor

Re: SETUP sendmail in HP-UX 11.0

I like the prior posts, but I want mail to go whether the DNS server resloves it or not.

DS
[IP_address_of_exchange_server]

stop and start sendmail

Run this diagnostic to check where the hangup is if the mail doesn't go through.

sendmail -v -d8.99 -d 38.99 steve@yourdomain.net



Test email



.



This will let you know if the Excange Server is accepting mail for relay or if there are other problems.

DNS stuff.

/etc/nsswitch.conf
/etc/resolv.conf

DNS diagnostic.

nslookup smpt_server

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