- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SMTP Relay Failover Configuration
Operating System - HP-UX
1756997
Members
2118
Online
108858
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
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
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
тАО08-17-2010 08:49 AM
тАО08-17-2010 08:49 AM
Can the sendmail environment on HPUX 11.11/23/31 be configured to use multiple relays in the event the primary relay fails? How do you set this up?
We have two exchange servers configured in a failover mode (entries from UNIX server /etc/hosts file):
10.2.1.73 mailout01a.XXX.org
10.2.1.74 mailout01b.XXX.org
We had a failover in the exchange environment but our unix mail failed to be routed.
Our sendmail.cf file contains the entry:
# "Smart" relay host (may be null)
DS
(set as null).
We have two exchange servers configured in a failover mode (entries from UNIX server /etc/hosts file):
10.2.1.73 mailout01a.XXX.org
10.2.1.74 mailout01b.XXX.org
We had a failover in the exchange environment but our unix mail failed to be routed.
Our sendmail.cf file contains the entry:
# "Smart" relay host (may be null)
DS
(set as null).
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2010 11:23 AM
тАО08-17-2010 11:23 AM
Solution
Since you aren't using the smarthost feature, Sendmail will try to deliver all outgoing mail directly to destination, whatever it is.
To do that, Sendmail uses DNS MX records to identify the mail server(s) of the destination domain.
For example: if you're sending mail to SB@XXX.org.example, Sendmail will first check for MX records for XXX.org. If no MX records are found, Sendmail will typically see if it can find an A record (IP address) for XXX.org and connect to it using the SMTP protocol.
There can be multiple MX records for a domain: each record includes a priority value and a fully-qualified domain name of a mail server. Further DNS lookups may be necessary to convert the names to IP addresses.
MX records *cannot* be stored in /etc/hosts: they're one of the reasons why Internet email is very strongly linked to the DNS.
To see the MX records provided for XXX.org by your DNS environment, run:
nslookup -query=MX XXX.org
The response should be something like:
XXX.org mail exchanger = 1 mailout01a.XXX.org
XXX.org mail exchanger = 2 mailout01b.XXX.org
(Of course, that's assuming mailout01a and mailout01b are the servers that are supposed to receive *incoming* SMTP email in your Exchange environment. The name component "mailout" would suggest otherwise.)
---------
If you want to use the smarthost feature, you can specify multiple smarthosts separated by colons, i.e.
DSmailout01a.XXX.org:mailout01b.XXX.org
or with IP addresses:
DS[10.2.1.73]:[10.2.1.74]
MK
To do that, Sendmail uses DNS MX records to identify the mail server(s) of the destination domain.
For example: if you're sending mail to SB@XXX.org.example, Sendmail will first check for MX records for XXX.org. If no MX records are found, Sendmail will typically see if it can find an A record (IP address) for XXX.org and connect to it using the SMTP protocol.
There can be multiple MX records for a domain: each record includes a priority value and a fully-qualified domain name of a mail server. Further DNS lookups may be necessary to convert the names to IP addresses.
MX records *cannot* be stored in /etc/hosts: they're one of the reasons why Internet email is very strongly linked to the DNS.
To see the MX records provided for XXX.org by your DNS environment, run:
nslookup -query=MX XXX.org
The response should be something like:
XXX.org mail exchanger = 1 mailout01a.XXX.org
XXX.org mail exchanger = 2 mailout01b.XXX.org
(Of course, that's assuming mailout01a and mailout01b are the servers that are supposed to receive *incoming* SMTP email in your Exchange environment. The name component "mailout" would suggest otherwise.)
---------
If you want to use the smarthost feature, you can specify multiple smarthosts separated by colons, i.e.
DSmailout01a.XXX.org:mailout01b.XXX.org
or with IP addresses:
DS[10.2.1.73]:[10.2.1.74]
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2010 12:41 PM
тАО08-17-2010 12:41 PM
Re: SMTP Relay Failover Configuration
Matti:
Thank you. Your response was dead on. i searched multiple docs and man pages but could never find reference to MX records as clear as you have provided. Nor could I find the syntax for multiple specific host entries.
Thank you. Your response was dead on. i searched multiple docs and man pages but could never find reference to MX records as clear as you have provided. Nor could I find the syntax for multiple specific host entries.
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