Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2004, 03:51 PM   #1
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Rep: Reputation: 17
problem when sending mail

when I send mail through my linux server to hotmail I get the following error

Name server: host name lookup failure

I can send to any other domain, but hotmail always fails. I'm not running DNS on this box. Is the problem the DNS server? I have a primary and secondary DNS entered the primary is through my ISP and the secondary is a bellsouth DNS server.
Old 03-17-2004, 08:26 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,840

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
A simple test. Dial into you ISP. Open a terminal and use the ping or traceroute commands to see if the address you want is active. Like this: ping If it's active, you'll get a response. It it's inactive, you won't. When I tried to ping the domain you specified, I got a domain number (the site is registered) , but no response (it's offline).
Old 03-17-2004, 09:14 PM   #3
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
Maybe hotmail is blocking your mail as spam? From what I understand, they don't allow incoming mail from servers without a valid MX record that matchs the senders email domain.
Old 03-18-2004, 09:59 AM   #4
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Original Poster
Rep: Reputation: 17
I found a solution to a similar problem here and tried it even though I didn't expect it to help. After I made the change to /etc/mail/mailertable I get a different error, now it says "Deferred: Connection timed out with"

When I try to ping I get an IP but no ping reply.

This is all new to me, I've been playing with linux for about 5-6 months now. What would I need to do if I don't have a valid MX record?

when I run dig MX i get the following

; <<>> DiG 9.2.2-P3 <<>> MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35114
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY:1, ADDITIONAL:0


;; AUTHORITY SECTION: 86400 IN SOA 2004030800 28800 7200 604800 86400

;; Query time: 50 msec
;; SERVER: (
;; WHEN: Thu Mar 18 10:52:43 2004
;; MSG SIZE rcvd: 98

Can you tell me what I need to do to fix this?


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
mail sending problem !!! hitesh_linux Linux - Networking 6 09-22-2004 10:01 PM
Mail sending problem on Evolution flubber Linux - Software 3 05-03-2004 03:07 PM
sending mail outside problem dangerousjohnny Linux - Newbie 2 03-02-2004 02:11 PM
Mail sending problem Bernhard Linux - Software 6 06-03-2003 01:34 AM
problem with sending mail DreamerNS Linux - Software 0 03-30-2003 11:30 AM

All times are GMT -5. The time now is 10:48 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