Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-16-2005, 11:58 PM   #1
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:

Email: Qmail
Domain Registrar:
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 on 2 Dec 2004 19:34:15 -0000

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

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, this is what my MX record says

1) Priority - 0....Host - @....Goes To - 3600
2) Priority - 10...Host - mail...Goes To - 3600

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

I have absolutely no idea what is wrong. Can somebody please help? Thanks in advance...
Old 01-17-2005, 02:22 AM   #2
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


>set q=mx

good luck.
Old 01-17-2005, 01:19 PM   #3
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
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52634
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 4


;; ANSWER SECTION: 3600 IN MX 0 3600 IN MX 10 3600 IN MX 0


;; ADDITIONAL SECTION: 2146 IN A 2146 IN A 1534 IN A 1534 IN A

;; Query time: 140 msec
;; 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 "".
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
LQ Newbie
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15

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 - (my IP address)

The last part (Goes To) was the problem. After I changed it to "", 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!)



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 + problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:23 AM.

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