LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 02-01-2007, 08:07 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
qmail-send complains about ALL email addresses


Hi,

I honestly tried not to tinker with my webserver, but my qmail-send has been broken in some way in the last week. It was workign OK before but now it gives a #5.1.2 error on all addresses I send to, saying it can't find the domain.

Traditionally this error mans you spellt the domain name wrong. But in my case it is giving the same complaint about all email domains, even when spellt well.

Receiving mails is no problem, only sending. I have tried various configurations so I'm thinking that I may have inadvertently changed permissions or deleted or whatever to some file that qmail-send nneds to use. Files that come to mind are resolv.conf and named, I expect qmail might use them. Are they any ther thigns I should check to find the problem out?

Cheers for help
 
Old 02-02-2007, 07:48 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Possibly a DNS lookup error? Can that machine resolve MX records for other domains?

Run this from a terminal:
Code:
dig mx linuxquestions.org
And part of the output should include:
Code:
;; ANSWER SECTION:
linuxquestions.org.     14400   IN      MX      10 mail.linuxquestions.org.
If none of the output includes that information, then your server can't resolve the MX properly.

Try adding running:
Code:
dig mx linuxquestions.org @208.67.222.222
That will force dig to use the OpenDNS name server. If that does work, then it's a problem with the DNS server that your Mail Server is using. If it still doesn't work, then there's a problem with your Mail Server and the way it's doing lookups - maybe a firewall blocking port 53 traffic?
 
Old 02-03-2007, 02:06 PM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
Thanks Fukawi2 for the helpful reply. I'll follow your instructions. Cheers.
 
Old 02-03-2007, 02:11 PM   #4
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
Hi Fukawi2,

YEs, it did work if I used the OpenDNS. So it is my nameserver.

Now, as you noticed I said, it WAS working. So while I was rummaging through the pile of BIND documentation, I started getting impatient, and decided I should undo whatever changes I had made. However, I had only made one small change, and it did not have anything to do with mail.

The change I had made was including "recursion no;" close to the top of named.conf, because I was advised to, by www.dnsstuff.com. Well I deleted it again, did a "rndc reload" and suddenly I could send mail again!
 
Old 02-03-2007, 03:43 PM   #5
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
I'm glad you knew what you did so you can undo it
Cheers,
-p
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you send a single email to all addresses in the addressbook under kmail/outlook? JBailey742 Linux - Software 2 07-11-2006 04:51 PM
qmail server, local users sending mail with incorrect email addresses HoundDog Linux - Networking 2 01-04-2006 02:40 AM
Qmail wont send mail to some addresses The_Nerd Linux - Software 5 01-03-2005 06:40 PM
qmail wont send email to addresses not in my domain robmainella Linux - Software 2 02-02-2004 05:37 PM
Multiple email addresses with qmail (same prefix, different domains) Shaolyen Linux - General 1 11-16-2003 11:50 PM


All times are GMT -5. The time now is 02:48 PM.

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