View Full Version : Can't receive mail
quark122 01-19-2003, 10:52 PM Hi,
I just added a new site to my RAQ4 OS RAQ3...
When I try sending mail to the new domain [which pings, etc], I receive back:
550 <user@newdomain.net>... Host unknown (Name server: mail.newdomain.net\032.: host not found)
The A record for newdomain.net points to the proper IP.
The CNAME record for www.newdomain.net points to newdomain.net
The A record for mail.newdomain.net points to the proper IP.
In the site setup screen on the RAQ4 OS:
host is www
domain is newdomain.net
webserver alias is newdomain.net
e-mail server alias is newdomain.net
APOP is turned off, as is SSL.
I'm sending from my RAQ3 with a RAQ3 OS. I have other domains that work fine on the RAQ3 W/RAQ4 OS...
Any suggestions?
--Will
Website Rob 01-19-2003, 11:26 PM I do believe that "mail" should be using CNAME (not A) and point to the Domain Name.
Also make sure all Nameserver and Domain Name entries have a dot (.) at the end of the net. [ newdomain.net. ]
cbtrussell 01-20-2003, 09:07 AM That's not it. The problem is your server doesn't know to receive mail at mail.domain.com as you have it configured above.
Set up your site as follows:
A > domain.com > IP
A > www.domain.com > IP
A > mail.domain.com > IP
MX > domain.com served by mail.domain.com
DO NOT USE CNAMES.
E-Mail Aliases: domain.com, mail.domain.com
Web Aliases: domain.com
The biggest issue is 'mail.domain.com' is missing from your email server alias list. That will fix your problem.
Good luck, let us know how it goes. If you need additional help, you can PM me your domain name and I'll have a look.
Brandon
quark122 01-20-2003, 09:43 AM I added mail.newdomain.net to the e-mail aliases list and I still get the same error.
I have other domains with the same A/CNAME record configurations and they work fine. I use an outside DNS that automatically sets them up this way.
Thanks for any help!
--Will
Website Rob 01-20-2003, 11:31 AM Appears there is more than one way to set things up for DNS. :)
I know on my Server (using Linux/WHM) the following works just fine.
A domain name to IP
MX domain name to domain name
CNAME (mail / www / ftp) to domain name
It does seem odd, that if you've setup the problem site the same way as the others (and they work fine) then it should work as well?
quark122 01-20-2003, 11:40 AM Yeah... that's my puzzle...
I think the \032 on the error message is a big clue... just don't know what it means, or how to deal with it?
--Will
cbtrussell 01-20-2003, 05:12 PM There are definitely multiple ways to set up DNS. :)
But specifically on RaQ3/4's, the CNAME implementation is flawed. That's why on the pkgmaster site, run by Sun employees, it says:
"CNAMES are evil. Do not use them, ever. (This is not a joke.)"
Will, as to your problem, I don't think anyone will be able to help you unless you post your domain name here and we can look at the specifics ourselves. :)
Brandon
quark122 01-20-2003, 05:16 PM Yeah, that may be... but, in honesty, the CNAME hasn't caused me problems on the RAQ4 OS. The RAQ3 OS server I have has had some... headaches... but the RAQ4 is much kinder.
Any idea regarding the \032?
Brandon - I did PM you (this AM? I thought) and also this afternoon with the domain name.
--Will
BruceT 01-20-2003, 09:29 PM \xxx usually represents an octal number... \032 is octal for ASCII 26 (^Z). I'm betting you added some sort of bizarre character accidentally while entering your domain name, and the backend parsing wasn't smart enough to take it out.
Or you were editing /etc/mail/access by hand and somehow got an extra character inserted there.
Go back through the UI and delete/re-enter the entire field for each entry, especially the mail server alias field. Make sure all trailing blanks are removed, etc.
After saving changes, take a peek inside /etc/mail/access with a text editor like vi, just to make sure there's no weird remnants left on any line containing your problem domain.
Then rebuild the access.db file by doing
makemap hash /etc/mail/access < /etc/mail/access
as root.
quark122 01-20-2003, 11:17 PM Thanks Bruce.... turned out that my DNS provider did that VERY thing... accidentally put the 32 (ascii space) after mail.newdomain.net... so when the lookup happened, it included the space and then was confused.
--Will
Website Rob 01-21-2003, 09:12 AM Three cheers for Bruce, for providing the HSA (Head Smack Answer -- why didn't I think of that). :D
cbtrussell 01-21-2003, 10:05 AM It didn't complain because he wasn't using the RaQ to provide DNS - he was using a third party provider.
B
quark122 01-21-2003, 02:24 PM Actually, Brandon PMed me earlier in the day (I PMed him the domain name)... I forgot to respond to him though. :-( SO 3 cheers for Bruce AND Brandon.
BruceT 01-21-2003, 04:08 PM Glad to be of service... :)
So now I'm the Head Head Smacker? :D
Website Rob 01-21-2003, 04:14 PM Until your first wrong answer... :eek:
cbtrussell 01-21-2003, 04:56 PM Aw, gee shucks - thanks Will - glad to be in the company of Bruce anytime I can earn the privilege :)
|