LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2005, 11:58 PM   #1
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Rep: Reputation: 15
Question Qmail Problem....? (Receiving mail)


I recently have been having problems Receiving email on my email server at home...

========================
Relevant Info:

OS: RED HAT 9.0
Email: Qmail
Domain Registrar: godaddy.com
Router: Netgear
========================


Everything used to work beautifully for many months but for some reason, inbound mail just stopped working.

As far as I can tell, my router is working fine and all the settings are correct (email start port: 25.....end port: 25)

This is what the error message says when I try to email myself from a yahoo email:

Message from MAILER-DAEMON@yahoo.com on 2 Dec 2004 19:34:15 -0000

Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.

This is a permanent error; I've given up. Sorry it didn't work out

Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
------------------------------------------------------------------------------------------------

After checking my DNS settings on GoDaddy.com, this is what my MX record says

===========================================
1) Priority - 0....Host - @....Goes To - xx.xxx.xx.xx.....TTL 3600
2) Priority - 10...Host - mail...Goes To - xx.xxx.xx.xx..TTL 3600
===========================================

(*Of course the I have my real IP address in place of the xx.xxx.xx.xx's)

I have absolutely no idea what is wrong. Can somebody please help? Thanks in advance...
 
Old 01-17-2005, 02:22 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
u may want to check your "mx record" with dig or nslookup.

$dig mx yourdomain.com

or

$nslookup
>set q=mx
>yourdomain.com

good luck.
 
Old 01-17-2005, 01:19 PM   #3
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Unhappy Dig Results

This is the results when I ran dig on my domain.

==============================================================
; <<>> DiG 9.2.1 <<>> mx mydomain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52634
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;mydomain.com. IN MX

;; ANSWER SECTION:
mydomain.com. 3600 IN MX 0 smtp.secureserver.net.
mydomain.com. 3600 IN MX 10 mailstore1.secureserver.net.
mydomain.com. 3600 IN MX 0 mail.mydomain.com.

;; AUTHORITY SECTION:
mydomain.com. 3600 IN NS PARK10.secureserver.net.
mydomain.com. 3600 IN NS PARK9.secureserver.net.

;; ADDITIONAL SECTION:
smtp.secureserver.net. 2146 IN A 64.202.166.12
mailstore1.secureserver.net. 2146 IN A 64.202.166.11
PARK9.secureserver.net. 1534 IN A 64.202.165.114
PARK10.secureserver.net. 1534 IN A 64.202.167.153

;; Query time: 140 msec
;; SERVER: 63.203.35.55#53(63.203.35.55)
;; WHEN: Mon Jan 17 08:40:18 2005
;; MSG SIZE rcvd: 217
===============================================================

I noticed in the ANSWER Section that it doesn't contian a response for @ or simply "mydomain.com".
I am going to try to make it do that but does anyone else have a clue to why my email wont accept incoming messages, yet deliver's outbound mail flawlessly? (most of the time in less than 10 seconds when I mail myself to yahoo and hotmail)
 
Old 01-17-2005, 01:30 PM   #4
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
Lightbulb PROBLEM FIXED

I have fixed the problem. It turned out that I had answered my own question in my last post, but just for future reference for anyone else who may encounter a similar problem, I am posting how I got it working.

The problem lay in my MX record at my registrar's DNS record. My MX record setup was like this initially:

==========================================
Priority - 0, Host - @, GoesTo - xxx.xxx.xx.xx (my IP address)
==========================================

The last part (Goes To) was the problem. After I changed it to "mydomain.com", the @ host pointed straight to mydomain and now my inbound mail works again!

Hopefully This will help anyone else and help prevent the frustrations I went through (Sharing is caring!)

 
  


Reply


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
qmail not receiving mail sent from remote host ohcarol Linux - Software 20 10-07-2005 06:38 AM
having 2 Qmail probs - sending and receiving jaymer Linux - Software 1 06-23-2005 11:11 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Sendmail - problem receiving external mail manudath Linux - Wireless Networking 7 12-21-2004 01:14 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:26 PM.

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