- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail relay question.
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
04-11-2005 03:30 PM
04-11-2005 03:30 PM
Sendmail relay question.
Just after some guidance with a problem I am having with a sendmail server. The scenario is :
We have 3 mail relays into our network.
1 – is mail.abcd.com.au (MX Record priority 10)
2 – is mail2.efgh.net.au (MX Record priority 20)
3 – is postoffice.telstra.net.au (MX Record priority 30)
Mail.for myuser@abcd.com.au is usually routed in from the internet to No.1 relay which works fine. When No.1 fails the incoming mail is relayed to No.2. This server accepts the mail (it is allowed in the relay-domains file) and then does a lookup for the domain abcd.com.au, trys to deliver to No.1 which fails, trys to deliver to No.2 which gives a routing loop so then delivers to No.3 (my interpretation).
What I want to happen is that when No.2 receives mail for the abcd.com.au domain it delivers the mail directly to an internal IP Address (10.X.X.X) which is an internal mail relay server. Is there a way to map a domain name to a specific mail relay internal IP address in sendmail without looking up MX records in DNS?
I am open to any suggestions.
Regards
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 03:40 PM
04-11-2005 03:40 PM
Re: Sendmail relay question.
I haven't tried on HPUX but i have sendmail running on Linux with version 8.12, in which you have a file called mailertable.
This file maps the domain to the respective hostname. So when sendmail recieves the mail for that domain instead of looking at MX record is relays to the defined host in the mailertable
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:23 PM
04-11-2005 04:23 PM
Re: Sendmail relay question.
BTW, when host 2 receives an email when host 1 is down, it will not send mail to itself or host 3 as they have a lower preference value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:31 PM
04-11-2005 04:31 PM
Re: Sendmail relay question.
abcd.com.au smtp:10.4.32.200
I have compiled the file with "makemap dbm mailertable < mailertable" , I have uncommented the entry in the sendmail.cf file for :
# Mailer table (overriding domains)
Kmailertable dbm -o /etc/mail/mailertable
And stopped and started sendmail. It still seems to be trying to deliver to the original destination, can I use IP addresses or do they have to be names in the file ... or have i done something wrong here?
Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 05:21 PM
04-11-2005 05:21 PM
Re: Sendmail relay question.
(1) Uncomment relevent sections in sendmail.cf. Search for mailertable will reveal them (ruleset 90 etc)
(2) Try using square brackets around 10.4.32.200 in /etc/mail/mailertable to prevent sendmail from looking up MX record for that server.
abcd.com.au smtp:[10.4.32.200]
If you make changes to mailertable don't forget to rerun makemap and restart sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 05:29 PM
04-11-2005 05:29 PM
Re: Sendmail relay question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 05:30 PM
04-11-2005 05:30 PM