HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set up mail to send to a local mail server ...
Operating System - HP-UX
1833797
Members
4130
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-13-2002 06:33 AM
02-13-2002 06:33 AM
How can I set up mail to send all mail to a Internal Mail Relay server to Route mail external.
What should happen: A Unix server-- Sends mail to Local Mail Server-- Sends mail through Firewall-- to an outside email account.
Currently what happens...... mail sends to an outside accout and never gets delivered because this Unix server is not a routable server (no MX records or routing entries)
Thanks
What should happen: A Unix server-- Sends mail to Local Mail Server-- Sends mail through Firewall-- to an outside email account.
Currently what happens...... mail sends to an outside accout and never gets delivered because this Unix server is not a routable server (no MX records or routing entries)
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 06:38 AM
02-13-2002 06:38 AM
Solution
Hi,
Edit /etc/mail/sednamil.cf file.
Look for DS flag by /^DS
add your mail relay host infront of this,
DSmailrelay.damin.com
Restart the sendmail by
/sbin/init.d/sednamil stop
/sbin/init.d/sendmail start.
You can check this by
sendmail -v yourid@yahoo.com
Logs can be checked at /var/adm/syslog/mail.log
Goodluck,
-USA..
Edit /etc/mail/sednamil.cf file.
Look for DS flag by /^DS
add your mail relay host infront of this,
DSmailrelay.damin.com
Restart the sendmail by
/sbin/init.d/sednamil stop
/sbin/init.d/sendmail start.
You can check this by
sendmail -v yourid@yahoo.com
Logs can be checked at /var/adm/syslog/mail.log
Goodluck,
-USA..
Good Luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:32 AM
02-13-2002 07:32 AM
Re: How to set up mail to send to a local mail server to route outside
hi,
Like Uday has suggested, to send mail to internet, use a smart mail relay. in /etc/mail/sendmail.cf it is defined as
DSyour_smart_relay.domain.com
If you make any changes to /etc/mail/sendmail.cf you should restart sendmail,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Hope this helps.
Regds
Like Uday has suggested, to send mail to internet, use a smart mail relay. in /etc/mail/sendmail.cf it is defined as
DSyour_smart_relay.domain.com
If you make any changes to /etc/mail/sendmail.cf you should restart sendmail,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Hope this helps.
Regds
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP