- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Setting up my server for Sending External Mail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:12 AM
07-24-2003 10:12 AM
Setting up my server for Sending External Mail
I am very novice about HP UNIX 11.0. And I need help with setting up my server so I can send mail from my Unix machine to external e-mail address. ex. yourname@yahoo.com.
Could someone walk me though on what I need to do?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:19 AM
07-24-2003 10:19 AM
Re: Setting up my server for Sending External Mail
Edit '/etc/mail/sendmail.cf' and change the 'DS' line to something like 'DSyour.place.com'.
Then, restart 'sendmail':
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:35 AM
07-24-2003 10:35 AM
Re: Setting up my server for Sending External Mail
Just to add to what James stated:
"your.place.com" on the line starting with DS in most cases is the name of your SMTP host/relay address that mail will be forwarded to..
i.e. exchangeserver.yourcompany.com
Make sure that your UNIX server can resolve the name either by DNS or /etc/hosts.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:46 AM
07-24-2003 10:46 AM
Re: Setting up my server for Sending External Mail
If your system doesn't use DNS or you can't qualify your domain name then you would set the following:
Dj$w.mysubnet.company.com
This assumes the $w (hostname macro) has been set & it usually is.
Also you should edit the /etc/mail/sendmail.cw and enter all the hostnames - both short & long - and aliases for this system so tha sendmail knows for what hostnames to receive mail.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 11:33 AM
07-24-2003 11:33 AM
Re: Setting up my server for Sending External Mail
Receiving mail is a different situation as you need more configuration in sendmail.cf either through command line (which I don't recommend) or my editing sendmail.mc and doing a m4
and ofcource you should have a static IP address to reach you or need to use Dynamic DNS
Try reading FAQ at www.sendmail.org or at www.linuxdoc.org and select Sendmail