Re: Serving one domain on multiple servers
Ismail YENIGUL <[email protected]> Tue, 15 Nov 2011 23:35:42 +0200
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Organization | Endersys Ltd |
| Message-ID | <[email protected]> |
Hi,
qmail-ldap is designed for exactly the case that you are telling. It is
main/basic feature of qmail-ldap.
You can choose the account's mailhost manually .
You can distribute one domains users to many server. Did you read lwq
ldap article http://www.lifewithqmail.org/ldap/ and
http://www.nrg4u.com/qmail/QLDAPINSTALL
To achieve this here is the key parts:
* install qmail-ldap on all servers & configure qmqp protocol in
addition to smtp
* use the same LDAP server settings (control/ldapserver,ldaplogin etc
settings).
* add domain.com to control/locals ,control/rcpthosts file on all servers
* create user accounts with different mailhost values on ldap (you can
use any ldap browser tool or phpldapadmin)
Ismail YENIGUL
Project Manager
Endersys Ltd
Phone :+90 216-4709423 | Mobile:+90 533 747 36 65
SurGATE: West Coast Labs Premium Anti-Spam Certificated
Twitter: http://www.twitter.com/endersys
Blog: http://blog.endersys.com
On 15.11.2011 23:19, Khodayar Doustar wrote:
> Hi all,
>
> I'm planning to install lwq with ldap on a distributed mail system,
> separated servers for webmail(roundcube), mail gateway (lwq),
> directory and authentication server (ldap) and mail hubs(lwq), each
> one on separated server(s).
>
> All is OK with lwq but the fact that I'm going to host just one domain
> on more than on mail hub server, it means that mailboxes of some users
> will be stored in hub1.domain.com <http://hub1.domain.com> server and
> some other users will be stored in hub2.domain.com
> <http://hub2.domain.com>.
>
> I just want to know if that's possible, is ldap capable of handling
> such a system? For example could I have such information for users:
>
> mailname: [email protected] <mailto:[email protected]>
> mailhost: hub1.domain.com <http://hub1.domain.com>
> mailpath: /var/qmail/domains/domain.com/user1 <http://domain.com/user1>
>
> and
>
> mailname: [email protected] <mailto:[email protected]>
> mailhost: hub2.domain.com <http://hub2.domain.com>
> mailpath: /var/qmail/domains/domain.com/user2 <http://domain.com/user2>
>
> and how the user creation will take place? Is that possible to choose
> between servers the user is going to be created on? Or could it be
> distributed between servers?
>
> Any hint would be greatly appreciated since I couldn't find anything
> about this case on the web.
>
> Warm regards,
> Khodayar Doustar