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

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 06-10-2008, 01:20 AM
Senior Member
 
Posts: 53
Default [SOLVED] Installing on hosting dedicated server

Hello,

My enterprise has rented a dedicated server to an external hosting enterprise.

The machine hostname is (for exemple): enterprise.dedi.hosting.net, however I'm trying to install zimbra for our domain enterprise.com. Must I change the hostname machine?

If I don't change it, I can't retrieve webpages entering either enterprise.dedi.hosting.net:81 neither enterprise.com:81.

We installed apache, and then I use 81 port for zimbra to avoid port conflicts.

Thanks
Reply With Quote
  #2 (permalink)  
Old 06-10-2008, 02:33 AM
Moderator
 
Posts: 7,928
Default

You can have the hostname set to enterprise.dedi.hosting.net as long as a A and MX record is present in DNS. You can then set the MX record for enterprise.com to point to the hostname enterprise.dedi.hosting.net.
__________________
Reply With Quote
  #3 (permalink)  
Old 06-10-2008, 04:33 AM
Senior Member
 
Posts: 53
Default

Thanks uxbod.

I've this in db.enterprise for bind9 configuration, following your instructions:

;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA enterprise.com. root.enterprise.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN MX enterprise.dedi.hosting.net
@ IN A 127.0.0.1


And a declared zone taking this file (db.enterprise). Is this sufficient for access to zimbra?
Reply With Quote
  #4 (permalink)  
Old 06-12-2008, 12:12 AM
Senior Member
 
Posts: 53
Default

Will I need to modify my /etc/hosts file? May someone help me, please? Thanks!
Reply With Quote
  #5 (permalink)  
Old 06-12-2008, 12:30 AM
Moderator
 
Posts: 7,928
Default

The BIND entry you have created is for the localhost loopback address. Has your hosting provided given you a public or private IP address for your server ? I guess they will provide the DNS so they just need to setup a MX record for enterprise.com that points to enterprise.dedi.hosting.net.

Really need a little bit more information to help so could you post the following please
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig enterprise.dedi.hosting.net
dig enterprise.com mx
host `hostname` <- note backticks and not double quotes
__________________
Reply With Quote
  #6 (permalink)  
Old 06-12-2008, 01:12 AM
Senior Member
 
Posts: 53
Default

obertic.dedi.acens.net is the server hostname
obertic.com is the domain that I want to get working for

cat /etc/hosts

217.116.20.173 obertic.dedi.acens.net

cat /etc/resolv.conf

search acens.net
nameserver 127.0.0.1
nameserver 217.116.0.178
nameserver 217.116.0.179

dig enterprise.dedi.hosting.net =>
dig obertic.dedi.acens.net


; <<>> DiG 9.3.4 <<>> obertic.dedi.acens.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42693
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;obertic.dedi.acens.net. IN A

;; AUTHORITY SECTION:
acens.net. 7200 IN SOA ns1.acens.net. hostmaster.acens.net. 2007112829 14400 3600 604800 7200

;; Query time: 24 msec
;; SERVER: 217.116.0.178#53(217.116.0.178)
;; WHEN: Thu Jun 12 10:09:09 2008
;; MSG SIZE rcvd: 91


dig enterprise.com mx
dig obertic.com mx

; <<>> DiG 9.3.4 <<>> obertic.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53601
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

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

;; ANSWER SECTION:
obertic.com. 12234 IN MX 10 smtp.obertic.com.

;; AUTHORITY SECTION:
obertic.com. 82635 IN NS ns4.acens.net.
obertic.com. 82635 IN NS ns3.acens.net.

;; ADDITIONAL SECTION:
smtp.obertic.com. 12234 IN A 217.116.20.173
ns3.acens.net. 2484 IN A 217.116.0.192
ns4.acens.net. 2484 IN A 217.116.0.149

;; Query time: 1 msec
;; SERVER: 217.116.0.178#53(217.116.0.178)
;; WHEN: Thu Jun 12 10:10:04 2008
;; MSG SIZE rcvd: 143

host obertic.dedi.acens.net

Host obertic.dedi.acens.net not found: 3(NXDOMAIN)

(Because of Zimbra is not working, now I've postfix on. But when I install zimbra, I stop postfix, couriertcpd, and amavisd)

Thanks uxbod

Last edited by ttortosa; 06-12-2008 at 01:14 AM..
Reply With Quote
  #7 (permalink)  
Old 06-12-2008, 01:20 AM
Moderator
 
Posts: 7,928
Default

Okay, thanks for that. All that needs to be done then is for your hosting company to change the MX record for obertic.com to the following
Code:
IN MX 10 obertic.dedi.acens.net.
you will also need to remove nameserver 127.0.0.1 from your resolv.conf. Any resolution should now be performed by your hosting providers DNS and email for obertic.com should be routed to your ZCS server. Ensure ZCS is installed and working before switching the MX record. You should also ask your hosting provider if they will setup a secondary MTA for your domain, with a lower priority MX, incase your server fails. That way you shall not loose any email.
__________________
Reply With Quote
  #8 (permalink)  
Old 06-12-2008, 02:02 AM
Senior Member
 
Posts: 53
Default

Thanks, thanks, and thousands of thanks!

Now I've working properly zimbra and I can send emails, but not receive, surely because our provider still not changed the mx record.

Thanks
Reply With Quote
  #9 (permalink)  
Old 06-12-2008, 02:11 AM
Moderator
 
Posts: 7,928
Default

Correct
Code:
dig obertic.com mx

; <<>> DiG 9.4.2 <<>> obertic.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50044
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
obertic.com.		86399	IN	MX	10 smtp.obertic.com.

;; ADDITIONAL SECTION:
smtp.obertic.com.	86399	IN	A	217.116.20.173

;; Query time: 442 msec
;; SERVER: 10.7.152.5#53(10.7.152.5)
;; WHEN: Thu Jun 12 10:09:58 2008
;; MSG SIZE  rcvd: 66
__________________
Reply With Quote
  #10 (permalink)  
Old 06-12-2008, 02:12 AM
Senior Member
 
Posts: 53
Default

This is the message that returns when I send messages to info@obertic.com

This is the mail system at host obertic.dedi.acens.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

: Host or domain name not found. Name service error for
name=obertic.dedi.acens.net type=A: Host not found

Is this because It is necessary to change the MX record?

Thanks
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.