- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: DNS Overriding External Gateway for Sendmail
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
Discussions
Discussions
Forums
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
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
тАО11-30-2005 03:09 AM
тАО11-30-2005 03:09 AM
DNS Overriding External Gateway for Sendmail
I am now finding that sendmail is ignoring the specified gateway and sending all mail, regardless of destination (internal or external) through the internal mail system as specified in the MX records in our DNS.
If I disable DNS and add all the needed addresses for the monitored systems into the /etc/hosts file, I can get sendmail to behave as expected.
How do I get sendmail to do what is specified in the HostName.cf and sendmail.cf files (send all mail not in my company's domain to the external gateway)?
Thanks,
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2005 05:11 AM
тАО11-30-2005 05:11 AM
Re: DNS Overriding External Gateway for Sendmail
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=972928
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2005 08:05 AM
тАО11-30-2005 08:05 AM
Re: DNS Overriding External Gateway for Sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2005 11:33 AM
тАО11-30-2005 11:33 AM
Re: DNS Overriding External Gateway for Sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2005 03:13 PM
тАО11-30-2005 03:13 PM
Re: DNS Overriding External Gateway for Sendmail
If you want to ignore MX records returned by DNS, you need to use mailertable.
I never done this on Tru64 Unix, but should be something like:
Edit the mc file for your host:
vi hostname.m4
Add:
FEATURE(`mailertable',`hash -o /var/adm/sendmail/mailertable.db')dnl
Create the .cf file:
m4 -D_Configfile=hostname.m4 sendmail m4 > sendmail.cf
Add the following to the mailertable:
domain.com smtp:[your_mail_server]
Restart the service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2005 01:55 PM
тАО12-02-2005 01:55 PM
Re: DNS Overriding External Gateway for Sendmail
I modified the "_RelayAll" variable to true in the HostName.m4 file, rebuilt, and restarted sendmail. This yields the desired result (mail to our paging providers goes directly out to the firewall and bypasses our glacial Microsoft Exchange system).
Thanks to all for the advice and pointers, since it led me to the workaround.
Don