Hi! Yes, I know, this is kinda off-topic, but looks interesting.
On Fri, May 7, 2010 at 8:08 AM, spambox <spam...@fastwebnet.it> wrote: > 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 :) A little messy, I would need to see it on a monospace font, I guess. > > > > |-------------| > | 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, i need to use PostFix instead (for > many reason) > > server1,2,3 have 1 balancer in fron which simply redistribute the traffinc > among the 3 servers. Ok, so, load balancing here, with different homes for each server, so, each server have its own "set of users", right? > > if one server goes down, the one next to him will Up his ip address and mount > his partition on the storage untill the server restarts correctly. Now, this is more typical of HA clusters, what gets me confused is what I asked on the last question, so, when say, server 1 goes down, server 2 mount server1's home partition and start getting mails (and serving IMAP requests) as if it were server1, right? I'll reserve my other comments until I get more information on this. > > 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 will be able to installa 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? I don't use Courier (several reasons, off-topic here), I use Dovecot (I can even use SASL from Dovecot to authenticate Postifx's smtp, really handy along with reject_authenticated_sender_login_mismatch and smtpd_sender_login_maps on ldap). > > > Thank you very much for your time and for any tip or advice. > > Good bye everyone. > > > > > -- > spambox <spam...@fastwebnet.it> >