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

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 11-16-2007, 12:59 PM
Starter Member
 
Posts: 2
Default Select server plugin while loggin in

I was wondering if there is a plugin that can query a database for the IP of a mailserver where a domain is hosted on.

So when you have mail server:

10.0.0.1
10.0.0.2
10.0.0.3

And you have domain.com and domain2.com where domain.com lives on 10.0.0.3 and domain2.com lives on 10.0.0.1.

When you login the Zimbra can query a database and search for domain2.com and selects 10.0.0.1 to connect to as it's mailserver.

When you login the Zimbra can query a database and search for domain.com and selects 10.0.0.1 to connect to as it's mailserver.

I know this is possible for other solutions and I would like to have this for the Community version.
Reply With Quote
  #2 (permalink)  
Old 11-16-2007, 01:13 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

I don't quite understand what you're asking for. If you are going to be hosting multiple domains on a zimbra server then they all live on that one server, you get there by DNS records.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-16-2007, 02:31 PM
Starter Member
 
Posts: 2
Default

I will have multiple mailservers with multiple domains hosted on all.

I have the IP's of the mailserver + domain in a database, so I can query on what server what domain is.

So I want to use one webmail server for multiple mailservers.

The servers will run Postfix or Qmail, so I only need the webmailclient.
Reply With Quote
  #4 (permalink)  
Old 11-16-2007, 11:22 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

I suggest you read the product documentation on Multi-Server Install before you go any further.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-16-2007, 11:25 PM
Moderator
 
Posts: 6,237
Default

Quote:
Originally Posted by Matts View Post
The servers will run Postfix or Qmail, so I only need the webmailclient.
Ok, so you really can't separate the web-client out of Zimbra and use it with another backend. However, Zimbra does use postfix

With zimbra, an account is located on only one mailstore at a time; you can let it auto-spread out the collection of new accounts across all the mailstores, or manually assign everyone in one domain to only be stored on a particular mailstore:
(just assign a different COS per domain)


You can deploy a load balancer for the Zimbra server so that all users can log in using the same address/name instead of having to remember which server their mailbox is on.

So you'd set up a virtual hostname of mail.example.com and configure three mail servers, mail1.example.com to mail3.example.com.

When users log on to mail.example.com, the load balancer directs the user to any one of the mail servers to verify the log on information. After successfully logging on, users are redirected to the actual server their mail is stored on.
(Thus, while they are logged on, all subsequent requests can go directly to their assigned server.)

In order to configure load balancing for ZCS:
1. Each Zimbra servers must have a routeable address/name.
2. You must configure the virtual hostname on the administration console.
3. You must turn on the following localconfig setting on each mail server:
Code:
 zmlocalconfig -e zimbra_auth_always_send_refer=true
So here's an example:

Last edited by mmorse; 11-17-2007 at 06:56 PM..
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.