Add support for clustering
Allow for a two machine setup so that a user's mailbox can be located on two servers, such that the two mailboxes are synchronised in an IMAP like fashion. Both mail servers can receive mail via alternate MX records and update the user's local mailbox, which in turn gets synchronised with the corresponding mailbox in the alternate server.
Likewise a user can connect to either servers to read, delete or send mail and the other server's corresponding mailbox will get synchronised accordingly.
DNS caching could be limited to say 10 minutes, so within 10 minutes or less after the DNS gets changed, users would get redirected to the alternative site. After the problem is fixed, the failed server resynchronises the files and the DNS entries get reversed and we are back to normal.
The result is a redundant fully distributed email system and you can charge for two email servers, since they are both active. OK, if you could guarantee that only duplicated mail boxes exist, you might want to charge 50% for the backup server or make it free since the total active mailboxes will not exceed the licensed amount :)
Hello,
Thank you everyone for submitting and supporting this idea. We will consider this for future versions of MDaemon.
3 comments
-
Emanuele Aliberti
commented
Extend the functionality of "shared domain" in MDaemon.
First, extend it to perform as a limited HTTP/IMAP/POP3 proxy.
Add a new mailbox attribute: a user's home server, where a mailbox is located permanently.
When a client connects to a server of the shared domain group, if the logging-in user is in his/her home server, behave as usual and complete local authentication. If it is not, user MINGER to query other server in the shared domain group. As soon as you find the loggin-in user's home server, authenticate using the pending session credentials provided by the client. If remote authentication succeeds, proxy the client protocol to the remote (home) server. -
Cyril COHU
commented
Maybe double tak software "could be an answer" for high availibility, but not for cluster...
-
Cyril COHU
commented
I'am not a great favour of cluster....
Maybe the best is to reduced the number of hits to the OC, to have more users on the same server. and if we want high availibility use double take tool....
Regards
