Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
Possibly a DNS lookup error? Can that machine resolve MX records for other domains?
Run this from a terminal:
dig mx linuxquestions.org
And part of the output should include:
;; 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:
dig mx linuxquestions.org @22.214.171.124
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?
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!