Think about sending Millions of mails per day to your user base.. How you can handle such bigÂ volumeÂ of mails on a daily basis . Here i am going to explain about theÂ infrastructureÂ we have done to send Bulk mailing.
Requirement from our Management: The requirement was to send around 5 Million mails per day .
We have done this with the following Infrastructure.
- 5 Sendmail Servers (Red hat server with 32gb Memory and dual Xeon Quad Processors)
- One cron Job server
- One RabbitMQ Server for Queuing the mails
- LoadÂ Balancer (Netscaler)
First up all we have created five sendmail servers in RHEL server , each server is having a reverse DNS record and a dedicated ip also the config is tweked to send maimum mails.
Cron job Server
The cronjob server execute the scripts and generate mails, These mails are send to RabbitMQ server which do theÂ Queuing of this mails
This server enables us toÂ queue all the mails generated by the server, It also send this mails to the Load balancer pool to deliver the mails .
All the sendmail servers are configured under one of the LB virtual pool and it hand over the mails to sendmail servers by using round robin method.
AfterÂ implementingÂ this we never faced any problems, millions of mails can be queued
under RabbitMQ server.