Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Sendmail and DNS catch 22
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Chajecki  
View profile  
 More options Jun 28 2005, 7:17 pm
Newsgroups: comp.mail.sendmail
From: "John Chajecki" <jc...@dsl.pipex.com>
Date: Wed, 29 Jun 2005 00:17:42 +0100
Local: Tues, Jun 28 2005 7:17 pm
Subject: Sendmail and DNS catch 22
Dear all,

I am hoping that someone can help with a problem I have setting up a Solaris and sendmail based mail relay server.

The server has been built and I have been able to exchange messages between it and the mail hub. However I am having difficulty getting it to work properly now its in the DMZ.

In order to get rsolution of external mail servers I have added my ISPs two DNS addresses into the resolv.conf. This allows it to resolve externam MX addresses but it also means that sendmail is trying to send inbound mail to our external MX address. If I remove the ISP dns ip addresses from resolv.conf then sendmail will deliver to the mailhub, but external mail delivery is broken due to the inability to resolve external addresses.

So it seems I am in a catch 22.

I have the following in my mailertable which I thought would do the trick:

company.co.uk     esmtp:mailhub.company.co.uk
.company.co.uk     esmtp:mailhub.company.co.uk

I also have the following in my hosts table:

aa.bb.cc.dd      mailhub  company.co.uk

None of this seems to make any difference.

I have thought of running BIND on the mail relay. This would allow me to configure an appropriate internal MX while redirecting all other queries to the ISPs dns servers. I'm not sure about the security implications of this however. I'm told that you shouldn't use DNS in the DMZ.

Can anyone tell me what the appropriate solution for this is please and whether its OK to use BIND?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil W Rickert  
View profile  
 More options Jun 28 2005, 11:04 pm
Newsgroups: comp.mail.sendmail
From: Neil W Rickert <rickert...@cs.niu.edu>
Date: Wed, 29 Jun 2005 03:04:03 +0000 (UTC)
Local: Tues, Jun 28 2005 11:04 pm
Subject: Re: Sendmail and DNS catch 22

"John Chajecki" <jc...@dsl.pipex.com> writes:
>In order to get rsolution of external mail servers I have added my ISPs two DNS addresses into the resolv.conf. This allows it to resolve externam MX addresses but it also means that sendmail is trying to send inbound mail to our external MX address. If I remove the ISP dns ip addresses from resolv.conf then sendmail will deliver to the mailhub, but external mail delivery is broken due to the inability to resolve external addresses.
>So it seems I am in a catch 22.
>I have the following in my mailertable which I thought would do the trick:
>company.co.uk     esmtp:mailhub.company.co.uk
>.company.co.uk     esmtp:mailhub.company.co.uk

Maybe you need

company.co.uk   esmtp:[mailhub.company.co.uk]
.company.co.uk  esmtp:[mailhub.company.co.uk]

The [brackets] suppress the MX lookup.

>I also have the following in my hosts table:
>aa.bb.cc.dd      mailhub  company.co.uk

Is that a typo for "mailhub.company.co.uk".  If not, you
might need different mailertable entries.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Chajecki  
View profile  
 More options Jun 29 2005, 3:58 pm
Newsgroups: comp.mail.sendmail
From: "John Chajecki" <jc...@dsl.pipex.com>
Date: Wed, 29 Jun 2005 20:58:02 +0100
Local: Wed, Jun 29 2005 3:58 pm
Subject: Re: Sendmail and DNS catch 22
Neil,

You wrote:
> Maybe you need
> company.co.uk      esmtp:[mailhub.company.co.uk]
> .company.co.uk     esmtp:[mailhub.company.co.uk]

I did try the square bracketed version but that made no difference.

Also,

>> I also have the following in my hosts table:
>> aa.bb.cc.dd      mailhub  company.co.uk

No its not a typo. I found when I added company.co.uk a ping test resolved to the internal mailhub, but sendmail persists in resolving to the outside MX.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrzej Adam Filip  
View profile  
 More options Jun 29 2005, 4:10 pm
Newsgroups: comp.mail.sendmail
From: Andrzej Adam Filip <a...@priv.onet.pl>
Date: Wed, 29 Jun 2005 20:10:00 +0000
Subject: Re: Sendmail and DNS catch 22

Try the following mailertable entries (use the ip address directly):
company.co.uk   esmtp:[aa.bb.cc.dd]
.company.co.uk  esmtp:[aa.bb.cc.dd]

Use the following test/debug command:
sendmail -d60.5 -bv postmas...@company.co.uk

--
Andrzej [en:Andrew] Adam Filip a...@priv.onet.pl a...@xl.wp.pl
"All that is necessary for the triumph of evil is that good men do
  nothing"  -- Edmund Burke (18th century)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »