Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: multi-server setup

  1. #1
    reckless2k2's Avatar
    reckless2k2 is offline Loyal Member
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    96
    Rep Power
    8

    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.

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    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 ?

  3. #3
    reckless2k2's Avatar
    reckless2k2 is offline Loyal Member
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    96
    Rep Power
    8

    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?

  4. #4
    pbruna is offline Project Contributor
    Join Date
    Feb 2006
    Posts
    92
    Rep Power
    9

    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.itlinux.cl

  5. #5
    reckless2k2's Avatar
    reckless2k2 is offline Loyal Member
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    96
    Rep Power
    8

    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.

  6. #6
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    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.

  7. #7
    reckless2k2's Avatar
    reckless2k2 is offline Loyal Member
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    96
    Rep Power
    8

    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.

  8. #8
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

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

  9. #9
    reckless2k2's Avatar
    reckless2k2 is offline Loyal Member
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    96
    Rep Power
    8

    Default

    Once I toyed around with the virtual host, I got it to work. Thanks for all the help. It is much appreciated.

  10. #10
    aborka is offline Starter Member
    Join Date
    Apr 2007
    Posts
    2
    Rep Power
    8

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. Replies: 25
    Last Post: 06-20-2007, 03:02 AM
  5. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •