LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-16-2011, 09:01 PM   #1
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Rep: Reputation: 0
Postfix misconfiguration or DNS issue


Hi,

Recently I noticed that I am not receiving new emails and at the same time cannot send mails.

Please tell me what this means.
This was the output of tail -f /var/log/maillog:

Quote:
Feb 17 10:54:03 porto postfix/smtp[6727]: AAE024936F7: to=<myemail@yahoo.com>, relay=none, delay=3137, delays=3117/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
Thank you and have a great day to you all..
 
Old 02-16-2011, 11:49 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Please tell me what this means.
it means that postfix cannot resolve yahoo.com. you might try running the following
command on the machine running postfix to see if you can query dns manually:
Code:
dig yahoo.com mx
 
Old 02-17-2011, 12:29 AM   #3
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Original Poster
Rep: Reputation: 0
Quote:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> yahoo.com mx
;; global options: printcmd
;; connection timed out; no servers could be reached
Hi,

I think I can't send and receive emails from/to anyone. I've already sent test emails.

Thank you and have a great day.

Last edited by willcastle; 02-17-2011 at 12:34 AM.
 
Old 02-17-2011, 12:31 AM   #4
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Original Poster
Rep: Reputation: 0
Hi,

I've already checked the connections on the server and it seems okay. However I can't ping any IP address from the postfix machine.
 
Old 02-17-2011, 07:46 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
However I can't ping any IP address from the postfix machine.
ok, so this isn't a postfix nor a dns issue. maybe you should check your IP configuration
(address, default route). is this a fresh install, or is this a sudden problem with
a working server?
 
Old 02-17-2011, 08:01 PM   #6
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Original Poster
Rep: Reputation: 0
Hi,

I noticed that when I ping LAN addresses it has no problem, however I can't ping outside addresses like the IP of yahoo.com. I think it's a sudden problem. Because last week it is still working fine. Thank you for your help.
 
Old 02-17-2011, 08:12 PM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
you might double-check that you can ping your router, and that your default route points to the router's IP address (e.g. by looking at the output of "ip route ls" on the postfix machine). if everything looks good, you can try a traceroute to something outside your LAN. if the traceroute stops at the router, maybe it's a problem with the router.
 
Old 02-17-2011, 08:25 PM   #8
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Original Poster
Rep: Reputation: 0
Code:
ip route ls
This was the output:
Code:
192.168.101.0/24 dev eth1  proto kernel  scope link  src 192.168.101.5
169.254.0.0/16 dev eth1  scope link
default via 192.168.101.1 dev eth1
I've done traceroute and it's not successful. I am confused, because the postfix machine is at the same the web server. I can view our website from the outside. I can't ping the router which is 122.54.172.51.
 
Old 02-17-2011, 11:30 PM   #9
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
you should be able to ping the LAN-facing side of the router, which according to the output is 192.168.101.1. as to why you can't ping anything outside your LAN, you can start by looking at the firewall rules on the server and the router.
 
Old 02-18-2011, 12:12 AM   #10
willcastle
Member
 
Registered: Sep 2010
Location: Philippines
Distribution: Centos
Posts: 63

Original Poster
Rep: Reputation: 0
Hi,

Now I'm really confuse. I thought that it is a hardware problem I replaced the network card but it is still the same. I thought if I replace the card it will be alright but I guess I'm wrong.
Code:
192.168.101.0/24 dev eth1  proto kernel  scope link  src 192.168.101.5
169.254.0.0/16 dev eth1  scope link
Now this is the output of ip route ls.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix or DNS Issue? chriswoo Linux - Server 3 10-19-2007 11:35 AM
Centos 4.4 DNS and/or Sendmail/Postfix issue radiox Linux - Server 4 09-20-2007 05:04 PM
Misconfiguration w/ics confused about DNS choice drache777 Linux - Networking 2 05-18-2007 12:35 PM
DNS misconfiguration or what is wrong here? rebayona Linux - Networking 10 09-27-2005 04:32 AM
Postfix DNS issue collen Linux - Networking 1 11-30-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration