LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2007, 11:40 AM   #1
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Rep: Reputation: 15
How to set up MX record?


Hey all,

Im trying to set up email to receive/send through a desktop client(Thunderbird) and currently have it so that I can receive. I try and send but keep getting a 5.7.1 relay error. I did some research and found that I infact do not have an MX record for the domain.

How would I go around creating an MX record?

(Also, im using the ip as the pop3/smtp server address. Not sure if this info was needed or not)

-christopher_c
 
Old 10-15-2007, 11:48 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Add an MX record in your domain's DNS control, wherever that is.
 
Old 10-15-2007, 12:01 PM   #3
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
Add an MX record in your domain's DNS control, wherever that is.

Im not sure if I have access to that.

Should I contact my hosting and ask then? What should I tell them to put for the MX record?
 
Old 10-15-2007, 03:48 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Your question is more complicated than it may first appear to be. If you are attempting to run a mail server, (which it sounds like you are) then you'll need to tell us which distro and which mail server you are using. Thunderbird is an email client, it sends and receives mail to/from email servers. Relaying is when you try to send an email message through another server to the destination server; some people will use their ISP as their email relay server because their ISP's email server is typically not in a dynamic IP range and not flagged as SPAM immediately. However, you don't have to do this type of relay if your ISP doesn't block port 25 (and you still don't even if they do, but it's much more complicated if they do). If you are running your own server, you can send directly to the other email server.

Anyway, onto your apparent problem. Your MX record is how email servers identify other email servers. When you do a lookup on a domain (using something like nslookup or dig) you can see the MX record in their DNS entry. If you are trying to send email, most receiving servers expect you to have an MX record for the domain you are sending from. If you have a hosting provider, you probably already have an MX record. If you don't, you may want to think about looking at a different host, or learning more about how DNS works to run your own DNS server(s).

In either situation, you will need an MX entry in your DNS record to relay email to most hosts.

Good luck!

-Chad
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Oracle(R) Database Standard Edition One and Oracle Enterprise Linux on HP Set New World Record for Price Performance with TPC-C Benchmark LXer Syndicated Linux News 0 06-12-2007 06:01 PM
How to set a MX record ? chu2654 Linux - Server 1 11-10-2006 04:16 AM
LXer: Sybase, IBM Set Transaction Processing Record for Linux LXer Syndicated Linux News 0 07-15-2006 08:21 AM
LXer: Mysql Helps Set World Record in Java Application Server Benchmarks LXer Syndicated Linux News 0 06-14-2006 04:21 AM
Unable to record mic-in with SoundBlaster Live! while able to record other sources max76230 Linux - Newbie 2 03-14-2005 05:31 AM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration