LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-14-2006, 09:49 PM   #1
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Sendmail doesn't resolve domain names


This is what happens when fetchmail pulls emails (a line from /var/log/maillog):

Code:
sm-mta[2354]: kAC0K9it002354: ruleset=check_mail, arg1=<mplayer-dev-eng-bounces@mplayerhq.hu>, relay=localhost [127.0.0.1],
 reject=451 4.1.8 Domain of sender address mplayer-dev-eng-bounces@mplayerhq.hu does not resolve
Everything worked fine, until I had to go on a trip. Then this started to happen.

I solved it by adding this to sendmail.cf (actually, added it to sendmail.mc, but sendmailers over there know what I'm talking about):

Code:
FEATURE(`accept_unresolvable_domains')dnl
My laptop is firewalled, so I won't get any spam or such. So this solved my problem.

But, does anybody know just what have happened here? I can dig those mxs, why sendmail can't? Just so you know, I've done my share of RTFMing, but I haven't find definite answer to what's going on.
 
Old 11-14-2006, 10:48 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
It took me 3 attempts to resolve their domain just now. Maybe their DNS info needs to be retrieved via a slow link - I was getting the error DNS request timed out.

Does this happen for other domains as well?
 
Old 11-14-2006, 10:57 PM   #3
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Original Poster
Rep: Reputation: 31
Well, it happened for all domains (even gmail.com), until I turned off domain checking. That's bugging me: I can dig mx for every domain, but sendmail can't.
 
Old 11-14-2006, 11:10 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Do you do your DNS lookups directly from the root DNS servers? The recommendation at http://www.sendmail.org/tips/private-dns/ is to set up your own DNS server as a forwarding server (pointing to your ISP's DNS) and change your clients' DNS settings to use your DNS.

Sendmail should use the DNS servers set up in the local /etc/resolv.conf file for its lookups.
 
Old 11-15-2006, 11:27 AM   #5
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Original Poster
Rep: Reputation: 31
Yup, I use forwarding DNS server. And /etc/resolv.conf is:

nameserver 192.168.1.1

But, I've tried putting OpenDNS' servers in my resolv.conf, and still I would get the same error messages.
 
  


Reply

Tags
sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to resolve domain names natekris2331 Slackware 9 02-12-2011 01:27 PM
DNS, Linux doesnt resolve domain names for me ikk Linux - Networking 6 08-28-2005 04:35 PM
DNS will not resolve non-domain qualified names arobinson74 Linux - Networking 2 10-25-2004 05:13 PM
Unable to resolve domain names holdem Linux - Networking 4 02-01-2004 11:50 PM
unable to resolve domain names.. shazbot Slackware 5 02-05-2003 08:09 AM


All times are GMT -5. The time now is 03:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration