LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2008, 07:53 AM   #1
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
mx record / cname record ?


I'm setting up a new server with email. Email is not working right. In searching for my error (550-Verification failed) it's suggesting my mx record might not be right for my domain. I bought the domain from godaddy. i use another dns server (dnsmadeeasy).
So, where would my mx record be?
How can I view it?
How do I change it?

Same questions for cname. Where can I view my cname?
 
Old 09-27-2008, 05:57 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
GoDaddy is a domain Registrar. Typically a Registrar will only have DNS records to point to your main DNS servers.

I'm not familiar with DNS Made Easy but it sounds as if they are the ones that have your main DNS servers. Therefore your MX and CNAME (if any of the latter) would be there.
MX = Mail Exchange record (should have the IP(s) of your mail server(s))
CNAME = Canonical Name (lets you point an alias at an A record name)

You can figure out what your MX records are by typing:

dig -t MX <yourdomainname> +trace

The above should also tell you what nameserver answered your query.
 
Old 09-27-2008, 06:29 PM   #3
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
You cannot change your DNS records directly. Contact the company you registered with and ask them how to change your DNS records. The software which automates changes to DNS information is different for different registrars.
 
Old 09-28-2008, 10:05 AM   #4
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by jlightner View Post
GoDaddy is a domain Registrar. Typically a Registrar will only have DNS records to point to your main DNS servers.

I'm not familiar with DNS Made Easy but it sounds as if they are the ones that have your main DNS servers. Therefore your MX and CNAME (if any of the latter) would be there.
MX = Mail Exchange record (should have the IP(s) of your mail server(s))
CNAME = Canonical Name (lets you point an alias at an A record name)

You can figure out what your MX records are by typing:

dig -t MX <yourdomainname> +trace

The above should also tell you what nameserver answered your query.
Thanks J.

I ran the command and here is part of the output. I hate that they put a period after the domain name.

;; Received 492 bytes from 192.5.5.241#53(F.ROOT-SERVERS.NET) in 93 ms

netcarstop.com. 172800 IN NS ns1.dnsmadeeasy.com.
netcarstop.com. 172800 IN NS ns2.dnsmadeeasy.com.
netcarstop.com. 172800 IN NS ns3.dnsmadeeasy.com.
netcarstop.com. 172800 IN NS ns4.dnsmadeeasy.com.


looks fine otherwise.
Any other ideas what might cause an error 550 in email?
 
Old 09-28-2008, 12:27 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
PHP Code:
[chort@horus4 chort]$ dig netcarstop.com mx

; <<>> DiG 9.3.5-P2 <<>> netcarstop.com mx
;; global options:  printcmd
;; Got answer:
;; ->>
HEADER<<- opcodeQUERYstatusNOERRORid30737
;; flagsqr rd raQUERY1ANSWER1AUTHORITY0ADDITIONAL0

;; QUESTION SECTION:
;
netcarstop.com.                        IN      MX

;; ANSWER SECTION:
netcarstop.com.         1800    IN      MX      10 mail.netcarstop.com.

;; 
Query time83 msec
;; SERVER10.61.32.1#53(10.61.32.1)
;; WHENSun Sep 28 10:18:47 2008
;; MSG SIZE  rcvd53

[chort@imhotep chorttelnet mail.netcarstop.com 25
Trying 12.109.102.223
...
telnetconnect to address 12.109.102.223Connection timed out 
Your e-mail server isn't accepting incoming connections. It's possible that whatever email you are connecting to when you try to send mail is first attempting a connection back to you in order to verify that it can deliver bounce messages, if it has to. If another server tried to verify it could send a bounce to you, before it accepts mail, then it's going to fail because you're not configure correctly to receive mail.

Either your firewall is blocking port 25/tcp inbound, or your ISP is.
 
Old 09-28-2008, 01:33 PM   #6
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
I verified iptables allows port 25. It did not, but I had tested with iptables off so ...I confused the issue. I added the line to iptables to allow port 25 and restarted iptables.

Still getting the darn error:
gary @ dothq.com> (expanded from <gary>): host dothq.com[205.234.242.36] said:
550-Verification failed for <root@netcarstop.com> 550-No Such User Here 550
Sender verify failed (in reply to RCPT TO command)

the username gary is bogus ..but the rest of the error message is as I received it.

I simply mailed a test message with this command ( was root at the time):
mail gary < testmailfile

You are right that it's being rejected but I can't find out why.

Thanks for your help!

Last edited by DotHQ; 09-28-2008 at 01:38 PM.
 
Old 09-29-2008, 05:50 PM   #7
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Any ideas on how I might fix this?
 
Old 09-30-2008, 08:15 AM   #8
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Still getting the darn error:
gary @ dothq.com> (expanded from <gary>): host dothq.com[205.234.242.36] said:
550-Verification failed for <root@netcarstop.com> 550-No Such User Here 550
Sender verify failed (in reply to RCPT TO command)

the username gary is bogus ..but the rest of the error message is as I received it.

I simply mailed a test message with this command ( was root at the time):
mail gary < testmailfile

HOw can I fix this verification error?
 
Old 09-30-2008, 08:59 AM   #9
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It is complaining that your user doesn't exist.

What happens if you use mail on the mail server itself to send to the user?

Run "lsof -i :25" and show output.
 
Old 09-30-2008, 09:59 AM   #10
mrog
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Debian, Ubuntu
Posts: 39

Rep: Reputation: 15
Quote:
Originally Posted by DotHQ View Post
I verified iptables allows port 25. It did not, but I had tested with iptables off so ...I confused the issue. I added the line to iptables to allow port 25 and restarted iptables.

Still getting the darn error:
gary @ dothq.com> (expanded from <gary>): host dothq.com[205.234.242.36] said:
550-Verification failed for <root@netcarstop.com> 550-No Such User Here 550
Sender verify failed (in reply to RCPT TO command)

the username gary is bogus ..but the rest of the error message is as I received it.
"dig mail.dothq.com" shows that 205.234.242.36 is the IP address for your mail server.

Both:
telnet mail.dot.hq 25
and
telnet 205.234.242.36 25
connect fine.

The response you get from your mail server is "host dothq.com[205.234.242.36]... ...No Such User".

You stated "the username gary is bogus".

The response is expected. What happens when you try with a valid username?
 
Old 09-30-2008, 01:31 PM   #11
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I think he is saying he used a fake name "gary" in his post but that he gets the message for a real name.

However, as you and I both posted his issue is that it thinks he doesn't have that (real) user. That isn't a DNS issue at all.
 
Old 10-01-2008, 08:32 AM   #12
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Thank you guys!!!!! You are exactly right. I didn't want to put the real email address on here to keep the spam down. Everything but the bogus name 'gary' is correct. I tried to mail the good user account and got the error I posted above about the user not being valid.

I thought we had a dns issue to start with but it is indeed that the main system does not think the user exists ... but the user is indeed valid.
I had the user set up in /etc/aliases to be forwarded to my dothq domain. I've since commented that out and receive the mail local on netcarstop.com and that works fine.
Why would dothq.com (a completely different server) think that the user ID does not exist on netcarco when indeed it does exist?

Should I start a new thread for this?
 
Old 10-01-2008, 09:00 AM   #13
mrog
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Debian, Ubuntu
Posts: 39

Rep: Reputation: 15
DotHQ:

You should start a new thread. It's a different issue and you wouldn't want others to focus on unrelated DNS issues.

When you start the new thread, could you might the following:
- whether or not you installed the mail software and/or what software are you using for each domain or if the mail configuration is done through a third part hosting company.
- when you set up the user mail account on dothq.com, did you set it up through an interface for the mail software that's installed if there is one?
- whether or not you setup a mail account or a unix account for the user (it may differ)
- from you last post it sounds like you're trying to forward an email destined to a dothq.com email account to a netcarstop.com email account. Is that accurate?

It might even be helpful to temporarily setup a gary @ dothq.com (or whatever) email account so others can try to send it mail. When you're satisfied that everything works just delete that mail account and you won't get spam.
 
Old 10-01-2008, 10:47 PM   #14
jgallo
Member
 
Registered: Sep 2008
Posts: 39

Rep: Reputation: 15
i will say i did come in here because of the title


Linux Archive

Last edited by jgallo; 10-12-2008 at 01:58 AM.
 
Old 10-05-2008, 09:30 PM   #15
bingmartin
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
please help me, i am new with linux, i acquired an email server using fedora for OS and communigate pro - i intend to replace communigate pro with google apps, i am done with the file that is required to be included in the main site, the only thing that i have to do is to add/edit the mx record.... how will i edit it, is it on the fedora server or the communigate admin interface....
 
  


Reply



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
How do I set up a CNAME record? SimbaSpirit Linux - Software 1 02-28-2008 07:01 AM
DDNS record and a static PTR record mou5e Linux - Networking 2 01-22-2008 01:16 AM
Creating A record and PTR record daemonkl *BSD 3 10-03-2007 04:50 PM
why To Use CNAME record ???? srnerkar1 Linux - Networking 3 12-31-2005 12:24 AM
Unable to record mic-in with SoundBlaster Live! while able to record other sources max76230 Linux - Newbie 2 03-14-2005 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration