How can we improve?

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 :)

156 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Alan TabourianAlan Tabourian shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    Joao MatosJoao Matos shared a merged idea: Sync data and config between 2 MD servers (active-passive)  ·   · 
    Anonymous shared a merged idea: Clustering and Load Balancing  ·   · 
    Scott TrowbridgeScott Trowbridge shared a merged idea: Load balance Mdaemon between two or more server offering high availability  ·   · 
    Anonymous shared a merged idea: MDaemon Cluster  ·   · 

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Gabriel MedinaGabriel Medina commented  ·   ·  Flag as inappropriate

        I have mdaemon mounted in a virtualized server with hyper-v which in turn is clustered. No but I will serve them if high availability and works perfect.

      • Tomas RalfsTomas Ralfs commented  ·   ·  Flag as inappropriate

        I would love this. One of the companies I work with has 14 offices around the world, Africa, Europe, USA, Asia.. Some of the offices has internet lines that pre-dates the dinosaurs. Something that would work with the unstable lines they have would be great.

      • Emanuele AlibertiEmanuele Aliberti commented  ·   ·  Flag as inappropriate

        You could use the extended IMAP4rev1 (that you already developed for Outlook Connector) to mirror a mailbox between two or more MDaemon servers running in shared-domain mode.

      • Emanuele AlibertiEmanuele Aliberti commented  ·   ·  Flag as inappropriate

        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 COHUCyril COHU commented  ·   ·  Flag as inappropriate

        Maybe double tak software "could be an answer" for high availibility, but not for cluster...

      • Cyril COHUCyril COHU commented  ·   ·  Flag as inappropriate

        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

      Feedback and Knowledge Base