1833958 Members
2150 Online
110063 Solutions
New Discussion

Re: EMAIL

 
Jeff Hagstrom
Regular Advisor

EMAIL

I am on hpux 11:00 on an HPK460 and I'd like to be able to send email out to the world. How can I accomplish this from inside the box?
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: EMAIL

If you are lucky this is really easy. If you already have a mail server somewhere then all you need to do is edit /etc/mail/sendmail.cf and look for the 'Smart Relay' macro. e.g.
DSmymail.here.com
Then all non-local mail will be automatically be forwarded to mymail.here.com for additional routing.

If it ain't broke, I can fix that.
Dave Chamberlin
Trusted Contributor

Re: EMAIL

Have an entry for an email relay server in your hosts file, (unless you are using DNS to resolve the address). Then modify the sendmail.cf in /etc/mail, and set the DS option like DSmymailer.mydomain.com
If you modify this file, you have to restart sendmail with,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start