HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to send mail thru an external SMTP server?
Operating System - HP-UX
1825759
Members
2286
Online
109687
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-11-2001 07:32 PM
02-11-2001 07:32 PM
My situation is like this: I have an UNIX server and it has SMTP enabled. However, I also have a FIREWALL that drops all in and out traffics from Internet. Therefore, now I have no way to send mail from UNIX server to outside.
Therefore, I want to setup an external SMTP server so that all mails from my UNIX server would be routed to this SMTP server first before distributed. Would any of you tell me how to set this up? Thousands thanks!!
Therefore, I want to setup an external SMTP server so that all mails from my UNIX server would be routed to this SMTP server first before distributed. Would any of you tell me how to set this up? Thousands thanks!!
Kwan Chris
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2001 07:44 PM
02-11-2001 07:44 PM
Solution
Hi,
1) Enable the firewall to allow outgoing SMTP traffic from your host to your external SMTP server. If you only intend to send and not receive emails at your host, incoming SMTP traffic does not need to be allowed through your firewall.
2) If you only intend to send and not receive emails at your host, you do not need to run the sendmail daemon at the SMTP port at your host. Your external SMTP server need to run a mail daemon such as sendmail.
3) Your DNS needs to register your external SMTP server as a mail exchanger ie. there must be a MX record bind to your SMTP server.
4) Usually, your sendmail.cf by default on your host is sufficient as the DNS is relied for identifying the correct MX to send your email out. However, You will need to configure the configuration files (such as sendmail.cf) at your external SMTP server to allow your external SMTP server to run as a mail relay and any additional requirements such as anti-spamming rules.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
1) Enable the firewall to allow outgoing SMTP traffic from your host to your external SMTP server. If you only intend to send and not receive emails at your host, incoming SMTP traffic does not need to be allowed through your firewall.
2) If you only intend to send and not receive emails at your host, you do not need to run the sendmail daemon at the SMTP port at your host. Your external SMTP server need to run a mail daemon such as sendmail.
3) Your DNS needs to register your external SMTP server as a mail exchanger ie. there must be a MX record bind to your SMTP server.
4) Usually, your sendmail.cf by default on your host is sufficient as the DNS is relied for identifying the correct MX to send your email out. However, You will need to configure the configuration files (such as sendmail.cf) at your external SMTP server to allow your external SMTP server to run as a mail relay and any additional requirements such as anti-spamming rules.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 12:46 AM
02-12-2001 12:46 AM
Re: How to send mail thru an external SMTP server?
In addition to what have been said before, once dns acces have been set, firewall policy too, you might use the DS macro in the '/etc/mail/sendmail.cf' to your smtp relay machine such as 'DS myrelay.foo.com'.
According to the fact that relaying has been enabled to your machine (and only !)
According to the fact that relaying has been enabled to your machine (and only !)
Grip the Unix Banner
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP