- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail relay on one internal NIC, not on outside...
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
03-31-2003 09:15 AM
03-31-2003 09:15 AM
1) How does one set up sendmail to listen on only one port in a multi-NIC system?
2) The default configuration in HP-UX 11.0 and above does not appear to allow relaying. How does one set up relaying for a subnet, say 10.56.11.* - which is internal - for outgoing mail only?
The idea is NOT to have port 25 open to the world, but to have it relaying to the world for internal addresses.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:43 AM
03-31-2003 10:43 AM
Re: sendmail relay on one internal NIC, not on outside port?
in sendmail.mc
Attaching an untested but probably usable hp-ux script for building the hash databases and using the option.
Use a real IP address.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 11:08 AM
03-31-2003 11:08 AM
Re: sendmail relay on one internal NIC, not on outside port?
I've done something similar for the time being.
Steven ... very good. I will try this soon and assign points accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 11:44 AM
03-31-2003 11:44 AM
Re: sendmail relay on one internal NIC, not on outside port?
O DaemonPortOptions=Addr=A.B.C.D
where A.B.C.D is an address on the NIC card you want to listen on.
To relay from internal hosts, activate the access db (uncomment the rules marked access in sendmail.cf)
Edit the file access. Add a line as follows:
10.56.11 RELAY
Build the access file
#makemap dbm /etc/mail/access < /etc/mail/access
Restart sendmail (because you changed sendmail.cf -- additional entries can be made in access without restarting sendmail).