- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail, another way to do...
Operating System - HP-UX
1754014
Members
6002
Online
108811
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
10-07-2004 02:44 AM
10-07-2004 02:44 AM
sendmail, another way to do...
Hi Folks!
At present my HP-UX boxes are sending messages fine via our local Relay Server configuration. To do this I'm ussing DSgateway.mydom.com into /etc/mail/sendmail.cf file and any external domains are defined into /etc/hosts files using the local gateway.mydom.com IP address, i.e:
2.33.44.55 pepsi.com
2.34.44.55 levis.com
2.34.44.55 etc.com
...and so on!
Well, now the smtp service will be migrate to a far remote server where IP changes will make without notification, only guaranteeing that the alias (gateway.mydom.com) will not change without previous warning and always well be reachable by corporate DNS resolution. Does some way exist of configuring external domains without depending on the IP address trick?
Rgds.
At present my HP-UX boxes are sending messages fine via our local Relay Server configuration. To do this I'm ussing DSgateway.mydom.com into /etc/mail/sendmail.cf file and any external domains are defined into /etc/hosts files using the local gateway.mydom.com IP address, i.e:
2.33.44.55 pepsi.com
2.34.44.55 levis.com
2.34.44.55 etc.com
...and so on!
Well, now the smtp service will be migrate to a far remote server where IP changes will make without notification, only guaranteeing that the alias (gateway.mydom.com) will not change without previous warning and always well be reachable by corporate DNS resolution. Does some way exist of configuring external domains without depending on the IP address trick?
Rgds.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 02:48 AM
10-07-2004 02:48 AM
Re: sendmail, another way to do...
Not sure how the listing of external domains on /etc/hosts has anything to do with what you are seeking.
You have a DS relay setup. Unless you have additional configuration parameters in the sendmail.cf file (mailertable, virtusers, etc) then all mail from your UNIX host will be relayed to the DS relay. It is the DS relay that is doing the resolution for the outgoing mail. All you do is send it there.
You have a DS relay setup. Unless you have additional configuration parameters in the sendmail.cf file (mailertable, virtusers, etc) then all mail from your UNIX host will be relayed to the DS relay. It is the DS relay that is doing the resolution for the outgoing mail. All you do is send it there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 04:03 AM
10-07-2004 04:03 AM
Re: sendmail, another way to do...
You will have to remove from /etc/hosts - and rely on DNS.
You will want the TTL low - so your server won't cache the ip address for too long....
Rgds...Geoff
You will want the TTL low - so your server won't cache the ip address for too long....
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 04:18 AM
10-07-2004 04:18 AM
Re: sendmail, another way to do...
Hola José MarÃa,
Can you use the DNS service?, if so configure your /etc/resolv.conf including a line like this:
nameserver "your DNS server"
and the /etc/nsswitch
The nsswitch.hp_defaults that is in your system will work.
#cp /etc/nsswitch.hp_defaults /etc/nsswitch
Regar
Can you use the DNS service?, if so configure your /etc/resolv.conf including a line like this:
nameserver "your DNS server"
and the /etc/nsswitch
The nsswitch.hp_defaults that is in your system will work.
#cp /etc/nsswitch.hp_defaults /etc/nsswitch
Regar
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP