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 04-07-2007, 07:45 AM
Loyal Member
 
Posts: 96
Default multi-server setup

I already have an established server setup with users (mail.server1.com). I'm trying to setup another server (mail.server2.com) but when I run the install script, It finds the current install and then I get this rotating error.

Do you wish to upgrade? [Y] N

*** WARNING - you are about to delete all existing users and mail

Delete users/mail? [N] N

Do you wish to upgrade? [Y] N

*** WARNING - you are about to delete all existing users and mail

Delete users/mail? [N] N

Do you wish to upgrade? [Y] N

*** WARNING - you are about to delete all existing users and mail

Delete users/mail? [N] N

How am I supposed to proceed to add the 2 server?

Any help is appreciated.
Reply With Quote
  #2 (permalink)  
Old 04-07-2007, 08:31 AM
Moderator
 
Posts: 2,207
Default

Errgl.

What are you trying to achieve ?

Have a single Zimbra instance handle several domains ?
Or setup a second hardware server for the same Zimbra instance ?
Reply With Quote
  #3 (permalink)  
Old 04-07-2007, 08:57 AM
Loyal Member
 
Posts: 96
Default

I'm looking to have two servers running on one box.

mail.server1.com
mail.server2.com

I saw that you could do a multiple server install on one box. That's what I'm looking to do. Adding a domain is not working for me because then I have to specify @server2.com at the login page even though i'm using mail.server2.com url. Because there is only one server (mail.server.com), I have to specifythe 2nd domain in the login. I want 2 servers so I can url each with their logins with no problem.

I thought I could have 2 servers on one box?
Reply With Quote
  #4 (permalink)  
Old 04-07-2007, 09:21 AM
Project Contributor
 
Posts: 87
Default Wrong aproach

reckless2k2, your can have multiple domains and let users login only with theirs username.

When you create a new domain, you can specify a virtualname, like Apache virtualhost, and when the users ritch this virtualname they only with have to type the username part.

For example you had installed zimbra with the domain: mail.server1.com, then you create another domain mail.server2.com, when you are creating this domain you specify the virtualname mail.server2.com for this domain.

Obviously, you must have the DNS configured for this domains and hosts.

More info:
http://wiki.zimbra.com/index.php?tit...irtual_Hosting
__________________
Patricio Bruna
http://www.it-linux.cl/pbruna
Reply With Quote
  #5 (permalink)  
Old 04-07-2007, 09:36 AM
Loyal Member
 
Posts: 96
Default

I tried to do what you are saying but I had to specify the @mail.server2.com when i logged in. I don't want to do that. I setup 2nd domain (mail.server2.com). MX all set up. Create a user.
url mailserver2.com and login I'm forced to put user@mail.server2.com orit defaults to mail.server.com users and says wrong passwd or user not found unless I specify 2nd domain in username. That's why I want 2nd server setup.

I saw doc about multi server install. Is it not possible? Under servers I want 2 servers listed.
Reply With Quote
  #6 (permalink)  
Old 04-07-2007, 09:42 AM
Moderator
 
Posts: 2,207
Default

Read the doc. I mean read it.

Patricio was too quick speaking about "virtual hosting".
Before going to "virtual hosting", you have to create the second domain in Zimbra.

Go to the AdminUI, you have to go in the "domains" area and create the new domain here. You can also create a CoS for this domain only.

The "multi server install" is about having several hardware servers to run your Zimbra infrastructure...

Last edited by Klug; 04-07-2007 at 09:48 AM..
Reply With Quote
  #7 (permalink)  
Old 04-07-2007, 09:51 AM
Loyal Member
 
Posts: 96
Default

I guess what I'm saying is that I already did the 2nd domain setup. I've added a user. Here is an example of my setup:

user@mail.server1.com
user@mail.server2.com

They are both named USER.

So I url to mail.server1.com and login as user with no problem.

Then I url to mail.server2.com and login as user and get password error. I have to specify user@mail.server2.com. That is my problem and that is what I'm trying to avoid.

So do I have to setup virtual host for 2nd domain on mail.server1.com (the original) or on the 2nd domain? I assume this is where you're going.
Reply With Quote
  #8 (permalink)  
Old 04-07-2007, 10:14 AM
Moderator
 
Posts: 2,207
Default

Quote:
Originally Posted by reckless2k2 View Post
So do I have to setup virtual host for 2nd domain on mail.server1.com (the original) or on the 2nd domain?
You have to set it up for the domain/server you want it to work.

For the first domain, you set it up as mail.domain1.com.
For the second domain, you set it up as mail.domain2.com.

If mail.domain1.com is the default name of the server (and domain1.com the defaut mail domain), you don't need to set it up, it's "by default".
Reply With Quote
  #9 (permalink)  
Old 04-07-2007, 12:52 PM
Loyal Member
 
Posts: 96
Default

Once I toyed around with the virtual host, I got it to work. Thanks for all the help. It is much appreciated.
Reply With Quote
  #10 (permalink)  
Old 04-08-2007, 02:23 PM
Starter Member
 
Posts: 2
Question

reckless2k2,

With this newly working setup of mail.server1.com and mail.server2.com on 1 zimbra server installation - when you send an email from user@mail.server2.com , is it actually being sent by the server2.com domain or in the header of the email still says
Received: from ... server1.com ... ?

Here is my problem:
I have 2 IP addresses specified for the 2 domains (mail.server1.com and mail.server2.com) on one zimbra installation on the server.
The second IP address was added to the /etc/network/interfaces after the mail.server1.com was fully working with Zimbra.
I created the new domain entry for mail.server2.com in Zimbra and set up the virtual hosts in both mail.server1.com and mail.server2.com so the users can log in with user names only.
(example: user@mail.server2.com can just go to http://mail.server2.com and log in simply using "user" as name and his passord. Also, user@mail.server1.com can go to http://mail.server1.com and log in as "user" with his password /which is different from user@mail.server2.com/).

However, when user@mail.server2.com sends an email, the header of the email contains the IP address of mail.server1.com and the name mail.server1.com instead server2.com.

The header of the email sent by user@mail.server2.com :
...
From: user < user@mail.server2.com >
Date: Sun, 8 Apr 2007 13:51:58 -0700 (PDT)
Received: from mail.server1.com (mail.server1.com [xx.xx.xx.xx])
by mail.server1.com (Postfix) with ESMTP id 3FF291C208
for < target@emailsomewhere.com >; Sun, 8 Apr 2007 13:51:59 -0700 (PDT)
.
.
.

How can we fix this? both the server name/ip address should come from the server the sender user account is created on.
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.