Hello everyone.

This is my first question here so please forgive me if i'm out of topic or 
something...


I'm building up this architecture with postfix + ldap + Courier IMAP
(i hope the below ascii art is displaying correctly :)



|-------------|
|   postfix1  |               very big storage
|   LDAP1     |-------------|********************
|   server1   |             |                   *   
|-------------|             |   /home1          *
       |                    |                   *
       |                    |-------------------*
|-------------|             |                   *
|   postfix2  |             |                   *
|   LDAP2     |-------------|   /home2          *
|   server2   |             |                   *
|-------------|             |                   *
       |                    |-------------------*
       |                    |                   *
|-------------|             |   /home3          *
|   postfix3  |             |                   *
|   LDAP3     |-------------|********************
|   server3   |
|-------------|




Now, let me explain how this is going to work.
This architecture works with Qmail+Ldap and now i'm migrating to PostFix  (for 
many reason)

server1,2,3 have 1 balancer in front which simply redistribute the traffinc 
among the 3 servers.

if server1 goes down the cluster will mount up server1 interface and home 
partition on server2. Server2 will temporarily act as server1 and server2 
untill server1 is back on line.

Each LDAP have list of his users. For each LDAP entry we have a record telling 
us, who is the MailServer for that user. So if the balancer send user "test" to 
mail server1 and from the LDAP we see that "test" user belong to server1 then 
"test" request is served, ELSE if user "test" has mail server set on 
"mailserver3" for example, the request is redirect to mailserver3 that will 
handle his request.



Now, i've a couple of questione here.


1) I've never used Courier IMAP, but reading on the internet i've found that it 
use gethostbyname() to resolve and this may cause an infinite loop for a host 
with 2 interface but one hostname if one server goes down.
So, i'm afraid that i wont be able to install courier-imap on each server and 
this will cause a big problem to the scalability of the system.

2) Has anyone ever tryed something like this and its ablet to redirect me to 
some good documentation?


Thank you very much for your time and for any tip or advice.

Good bye everyone.

-- 
spambox <[email protected]>

------------------------------------------------------------------------------

_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to