- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail.cf/MX record 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
12-11-2006 04:40 PM
12-11-2006 04:40 PM
sendmail.cf/MX record question
I am a sendmail novice and am wrestling with a change to the sendmail.cf file.
We run a range of HP-UX11i hosts with sendmail NOT running as a daemon - this because we do not wish the hosts to be able to receive mail.
We do however want them to be able to send mail via a non-hp-ux server - and this currently works via the following line in our sendmail.cf file on all machines...
DScurrentserver.domainx.com.au
When I change this record to...
DSnewserver.domainx.com.au
...mail sent to user@domainx.com.au gets delivered (so emails to our intranet work) - but emails to the internet stop working (ie emails sent to user@otherdomain.com don't get delivered.
A mailq command shows the following error for the unsent emails
Mail Queue (1 request)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
QAA03072 5 Tue Dec 12 16:06 dokeefe
(Deferred: Name server: fall.back.host.net: host name lookup )
user@otherdomain.com.au
I suspect an MX record change may also be required so my question is as follows.
Currently the only MX record in our DNS is in db.domainx as...
IN MX 100 currentserver.domainx.com.au.
Do I need to change this record to...
IN MX 100 newserver.domainx.com.au.
Sorry about the lengthy question - but I figure the more detail the better.
Any replies appreciated.
Cheers, Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2006 08:37 PM
12-11-2006 08:37 PM
Re: sendmail.cf/MX record question
I assume you have read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=991348
So,check your:
/etc/hosts for newserver.domainx.com.au
/etc/nsswitch.conf
/etc/resolv.conf
O=ServiceSwitchFile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 09:21 AM
12-12-2006 09:21 AM
Re: sendmail.cf/MX record question
Having read the link - I can see why I might want to uncomment the service.switch line in sendmail.cf - but since both newserver and oldserver are defined in DNS and nslookups work fine for both servers - I don't understand why oldserver works fine without uncommenting service.switch and newserver doesn't.
I will continue to experiment - but if you could explain the above I would be most grateful.
Cheers, Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 09:45 AM
12-12-2006 09:45 AM
Re: sendmail.cf/MX record question
What I'm trying to understand is the link between the DS entry in sendmail.cf and the MX record in DNS.
Does sendmail expect the DS entry to correspond to an MX entry in DNS?
I know this seems like an obvious question - but I'm loathe to change the DNS record (due to it's site-wide influence) without confirming my hunch. I don't seem to be able to find an answer to this question in either the BIND or sendmail doco.
Thanks again for any help you're able to provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 07:48 AM
12-13-2006 07:48 AM
Re: sendmail.cf/MX record question
DS[currentserver.domainx.com.au]
or
DS[ip_address_of_currentserver.domainx.com.au]
So it would be interesting to see the output of
$ nslookup -q=mx currentserver.domainx.com.au
>>> (Deferred: Name server: fall.back.host.net: host name lookup )
In your case it seems that sendmail is making use of fallback mx host (FallbackMXhost) which is defined to fall.back.host.net.
So you can try placing smart host name (or IP) in square brackets as above and see it that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:40 PM
12-13-2006 03:40 PM
Re: sendmail.cf/MX record question
After reading the links provided and experimenting with the square brackets - I discovered that my problem was caused by the MX record for newserver pointing to a CNAME.
It took many google searches before I found out via the sendmail website that MX records should NEVER be pointed to CNAMES.
Thanks again - Dave