Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-2010, 11:45 PM
Active Member
 
Posts: 34
Default zimra on CenTOS domain name

hello,

I have some problems about domain name zimbra on CenTOS.Like you.my old domain on exchange is username@localdomain.com,after migrating their domain name became username@localhost.localdomain.com.But ,I just want username@localdomain.com.Why it added localhost.localdomain.com.I looked at /etc/hosts files.In these files,I see that
my ip address localhost.localdomain.com localhost does the zimbra take this instead of domain name?

Thnak you
Reply With Quote
  #2 (permalink)  
Old 03-03-2010, 11:54 PM
Moderator
 
Posts: 7,929
Default

Code:
su - zimbra
zmhostname
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quote
__________________
Reply With Quote
  #3 (permalink)  
Old 03-04-2010, 12:26 AM
Active Member
 
Posts: 34
Default hello

zmhostname
newyork.gata.com

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.2.9 newyork.gata.com newyork
::1 localhost6.localdomain6 localhost6

cat /etc/resolv.conf
nameserver 192.168.2.9
nameserver 192.168.2.1

dig newyork.gata.com mx
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> newyork.gata.com mx
;; global options: printcmd
;; connection timed out; no servers could be reached

dig newyork.gata.com any
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> newyork.gata.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13602
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;newyork.gata.com. IN ANY

;; ANSWER SECTION:
newyork.gata.com. 6477 IN A 216.197.121.178

;; Query time: 228 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Thu Mar 4 10:25:08 2010
;; MSG SIZE rcvd: 50
Reply With Quote
  #4 (permalink)  
Old 03-04-2010, 12:43 AM
Moderator
 
Posts: 7,929
Default

Are you running a Split DNS - Zimbra :: Wiki as the MX lookup is resolving to your external IP and not the internal one.
__________________
Reply With Quote
  #5 (permalink)  
Old 03-04-2010, 01:18 AM
Active Member
 
Posts: 34
Default

I will look at my bind configuration according to this article.But ,I configured my bind after installed zimbra.So,my adrres became username@newyork.gata.com immediately .Is it related with my bind?

thanks
Reply With Quote
  #6 (permalink)  
Old 03-04-2010, 01:25 AM
Moderator
 
Posts: 7,929
Default

Yes as it would have found that name as the MX record. Just add a domain alias for gata.com and rename your account.
__________________
Reply With Quote
  #7 (permalink)  
Old 03-04-2010, 04:17 AM
Active Member
 
Posts: 34
Default my bind files

Hello ,

my bind configuration is here,can you tell me where I am wrong?
This is my /var/named/newyork.gata.com.zone
$TTL 8600
@ SOA ns1.newyork.gata.com. ns2.newyork.gata.com.(
2004001 ; serial
108000 ; refresh
3600 ; retry
315600 ; expire
86400 ; caching TTL of 1 hour
);

@ IN NS ns1.newyork.gata.com.
@ IN MX 10 gata.com.
www IN A 192.168.2.9
mail IN A 192.168.2.9
ftp IN A 192.168.2.9

This is my /etc/named.conf file
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
query-source port 53;
};
include "/etc/rndc.key";
// We are the master server for newyork.gata.com
zone "newyork.gata.com" {
type master;
file "newyork.gata.com.zone";
};
Reply With Quote
  #8 (permalink)  
Old 03-04-2010, 04:40 AM
Moderator
 
Posts: 7,929
Default

Code:
@ IN MX 10 gata.com.
should be pointed at
Code:
@ IN MX 10 newyork.gata.com.
and your server should have a A record
Code:
newyork IN A 192.168.2.9
__________________
Reply With Quote
  #9 (permalink)  
Old 03-04-2010, 03:02 PM
Active Member
 
Posts: 34
Default

Hello uxbod,

Firstly,Ihad made my mx newyork.gata.com,after that,I changed it to gata.com.Because,all emal address became username@newyork.gata.com,but I don't want this.I want username@gata.com.I want this,so I changed mx from newyork.gata.com to gata.com.

Secondly,should ı add newyork IN A 192.168.2.9 to /var/named/newyork.gata.com.zone file?

Thanks
Reply With Quote
  #10 (permalink)  
Old 03-04-2010, 10:16 PM
Moderator
 
Posts: 7,929
Default

If gata.com is your domain name then your zone should be
Code:
zone "gata.com" {
type master;
file "gata.com.zone";
};
and the contents of that zone file should look like
Code:
$TTL 8600
@ SOA newyork.gata.com. admin.gata.com.(
2004001 ; serial
108000 ; refresh
3600 ; retry
315600 ; expire
86400 ; caching TTL of 1 hour
);

@ IN NS newyork
@ IN MX 10 newyork
www IN A 192.168.2.9
mail IN A 192.168.2.9
ftp IN A 192.168.2.9
newyork IN A 192.168.2.9
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.