LinuxQuestions.org
Help answer threads with 0 replies.
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
 
Search this Thread
Old 10-18-2007, 03:59 PM   #1
File.am
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Email configuration -CNAME records - on server


Hello

I have customer which site domain*.net (e) is hosted on my server.

domain*.com is his site too, (but is hosted by another hoster) and as *.com is operational site, he ask me to set for domain*.net records of domain*.com

so just now records for domain*.net are:

Code:
 
domain*.net - 14400 in A - IP of second hoster
localhost.domain*.net -1440 in A -127.0.0.1
domain*.net 14400 ub MX - 0
www -14400 in CNAME - domain*.com
FTP -14400 in A - IP of second hoster

everything works nice, untill my client need to setup emails on this domain - domain*.net

i setup emails via cpanel, but if client try to connect via mail program (f.e. outlook express), he got an error. [as mail program try to connect to domain*.net which is pointed to domain*.com]

so my question is, is there any way, to change (add) any record, and as result have working emails on domain*.net ?

P.s. As i know, i must setup A or CNAME records of "mail" to my ip of domain*.net

pls correct me, if i'm wrong ?

any advice will be appreciated

P.p.s. try to setup IP of domain.net as pop3 and smtp mailservers, but
some messages are bounced with such error

Delivery to the following recipient has been delayed:


Message will be retried for 2 more day(s)



Technical details of temporary failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[domain.net. (0): Connection timed out]
[domain.com. (10): Connection timed out]
 
Old 10-19-2007, 09:17 AM   #2
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
You shouldn't be using CNAME records. Rather than pick apart your zone file (of which you should have posted the whole thing) that same zone could be written as such:
Code:
$TTL 86400
@       IN      SOA     ns1.mynameserver.com.  webmaster.mydomain.com. (
                2006012201 ; serial
                7200 ; refresh
                1800 ; retry
                1209600 ; expire
                86400 ; ttl
			)

; name servers
                IN      NS      ns1.mynameserver.com.
                IN      NS      ns2.mynameserver.com.

; mail servers (FQDNs here)
@               IN      MX      1       mail.domain.com.
@               IN      MX      20      mail2.domain.com.
; proper SPF record
                IN      TXT     "v=spf1 A MX -ALL"

; need both of these defined for compatibility
; with various clients
@               IN      A       123.123.123.123
*               IN      A       123.123.123.123

; start matching subdomains to ip addresses
www          IN      A       123.123.123.123
mail         IN      A       123.123.123.123
mail2        IN      A       124.124.124.124
ftp          IN      A       123.123.123.123
localhost    IN      A       123.123.123.123
All you're doing here is assigning (for example) www.domain.com to 123.123.123.123, mail2.domain.com to 124.124.124.124 and so on.
 
Old 10-19-2007, 09:18 AM   #3
bostonthunder777
Member
 
Registered: Jul 2007
Posts: 30

Rep: Reputation: 15
YOu are missing a MX Record.
 
  


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
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 03:15 AM
Migrating from Lotus Domino Email Server 6.5 to Linux email Server sailu_mvn Linux - Software 0 08-23-2006 12:04 AM
Do we really need CNAME records in DNS? ivj Linux - Networking 3 05-19-2006 04:49 PM
Adding 'static' records to a Cacheing only DNS server? Paul_Randle Linux - Networking 3 08-19-2005 08:18 AM
Multiple Users accessing the same Email records Gomi Linux - Newbie 1 02-03-2004 01:13 AM


All times are GMT -5. The time now is 01:05 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration