Monday, 20 January 2014

EMAIL SYSTEM ARCHITECTURE WITH ACTIVE DIRECTORY

EMAIL SYSTEM ARCHITECTURE WITH AD & CYRUS-IMAP
The Cyrus-IMAP package is proven to be robust and suitable in large settings. It differs from other Maildir or mbox IMAP servers in that it is intended to run as a “sealed” mailbox server—the Cyrus mailbox database is stored in parts of the filesystem that are private to the Cyrus-IMAP system. More important, a multiple server setup using Cyrus Murder aggregation is supported. It scales out the system's load by using multiple front-end IMAP proxies to direct IMAP/POP3 traffic to multiple back-end mail store nodes.
  • Instead of using a separate directory service (such as OpenLDAP) for user authentication, this design integrates user identities with Windows Active Directory (AD).
  • Rather than using an LDAP server to store user e-mail routing settings, The architecture is designed a relational database to store these settings.
  • In the mail store setup, instead of using an active-passive high-availability cluster setup, this design deployed the Cyrus-Murder Aggregator. The design consolidate both MTA and Cyrus Proxy functions to run on our front-end mail hub nodes. 
The design principle of the new e-mail system is to scale out from a single, monolithic architecture to multiple nodes sharing the same processing load. In a large e-mail environment, scaling out the front-end MTA system is considerably easier compared with scaling out the back-end mail store. As the front-end nodes are essentially data-less, using DNS or IP-based load balancing on multiple front-end servers is a typical practice. However, the same technique cannot be applied to design the back-end mail store where the user data resides. Without clustering, shared storage or additional software components (such as a proxy server), multiple mail store servers cannot share the same IMAP/POP3 process load under a unified service namespace. Because of this, using a single mail store server tends to be an obvious solution. However, one node usually implies elevated server hardware expenses when more powerful server hardware needs to be purchased to accommodate the ever-increasing system load. The price of a mid-range server with four CPUs is usually much higher than the total price of three or more entry-class servers. Furthermore, a single-node architecture reduces system scalability and creates a single point of failure.

EMAIL SYSTEM ARCHITECTURE WITH CYRUS-PROXY
Two Cyrus back-end servers set up, and each handles half the user population. Two Postfix MTA front-end nodes are designated to serve the proxy functions. When e-mail clients connect through SMTP/IMAP/POP3 to the front-end servers, the Cyrus Proxy service will communicate with the Cyrus Master node using the MUPDATE protocol, so that it gets the information about which Cyrus back-end node stores e-mail for the current client. Furthermore, the back-end Cyrus nodes will notify the Master node about the mailbox changes (creating, deleting and renaming mailboxes or IMAP folders) in order to keep the Master updated with the most current mailbox location information. The Master node replicates these changes to the front-end proxy nodes, which direct the incoming IMAP/POP3/LMTP traffic. The MUPDATE protocol is used to transmit mailbox location changes. 


Although it is not a fully redundant solution (the Master node is still a single point of failure), and half of users will suffer a usage outage if either one of the back-end nodes is down, the aggregator setup divides the IMAP processing load across multiple servers with each taking 50% of the load. As a result of this division of labor, the new mail store system is now scalable to multiple servers and is capable of handling a growing user population and increasing disk usage. More back-end Cyrus nodes can join with the aggregator to scale up the system. 

1 comment:

  1. Brain Book: Email System Architecture With Active Directory >>>>> Download Now

    >>>>> Download Full

    Brain Book: Email System Architecture With Active Directory >>>>> Download LINK

    >>>>> Download Now

    Brain Book: Email System Architecture With Active Directory >>>>> Download Full

    >>>>> Download LINK 6M

    ReplyDelete