Operating System - HP-UX
1836856 Members
2523 Online
110110 Solutions
New Discussion

Re: HP-UX 11.11 and sendmail 8.11.1 problem

 
T W_1
Advisor

HP-UX 11.11 and sendmail 8.11.1 problem

Hi,

I have a problem and wonder if anyone can help me. I am running Sendmail on HP-UX one of the domains I am sending to has an incorrect ip set in the DNS records, sendmail is looking up the MX record (which is incorrect), but the normal DNS ip is correct, is there a way to configure sendmail not to use the MX address when its doing the DNS lookup?

Any help would be great.

Cheers

Tim
9 REPLIES 9
Muthukumar_5
Honored Contributor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

what is there in sendmail.cf configuration file for O TryNullMXList=T? Is it commented or uncommented. It is deciding that.

--
Muthu
Easy to suggest when don't know about the problem!
T W_1
Advisor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Muthu,

Yer its commented out:

#O TryNullMXList=False

I have attached senmail.cf as well

Tim
Muthukumar_5
Honored Contributor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Try to put as,

O TryNullMXList=T

and restart sendmail. Try again. ?

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Hi Tim,

These docs should help you,

http://www.han.com/dns.html
http://www.sendmail.org/faq/section4.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-trouble.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
T W_1
Advisor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Muthu,

That looks like a good idea, I will try it now,

Aran,

Cheers for the docd.

Tim
Arunvijai_4
Honored Contributor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Hi Tim,

I missed this link in my previous post

http://www.unix.org.ua/orelly/networking/sendmail/ch21_03.htm

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
T W_1
Advisor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Its going to take a little longer to test than I expected, though I have a question. What will happen when a mail is sent to yahoo for example, will they be able to handle sending mail to the none MX host?
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Shalom,

You can transfer the domain itself to yahoo and then they will set up an MX record for it.

If there is no MX record at all for a domain on the public Internet then nobody is going to be able to send mail to it.

The solution to the problem is the fix the MX record. Some slight of hand with sendmail.cf or sendmail.mc might help your one server deliver mail to the domain, but it won't fix the problem on the Public Internet.

What you can also do for this one server is set up a DNS server locally, perhaps even on the mail server. Set up the MX record correctly for this domain and then make this new DNS server look at itself as the top line entry in /etc/resolve.conf

Didn't forget a link, don't need one now.

Let me know what you'd like to do and I or others will provide details on how to do it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
T W_1
Advisor

Re: HP-UX 11.11 and sendmail 8.11.1 problem

Steven,

We have set up a NAT on the firewall at the moment, but this will have to be changed. Setting up the DNS server to look at itself is a brilliant idea, Whats involved?

Tim