sendmail cluster

Todd Lyons tlyons at ivenue.com
Tue Jul 27 16:26:40 BST 2004


Omar Armas wanted us to know:

>I want to setup a cluster for a high load mail service.
>Currently I have one single server with debian, sendmail, qpopper
>uw-imapd, spamassassin and vexira, but I wanto to switch to a more
>scalable architecture.
>I want to ask if you know of an ideal solution for this using free
>software.

One possibility (there are many variations):

Director: gatewaying ports 25, 80, and 143.
Port 25 Real Servers: sendmail+spamaassassin+clamav (configure procmail
for Maildir format)
Port 143 Real Servers: courier-imap
Port 80 Real Servers: apache+webmail_app

>[Slave 1]  [Sl 2]  Layer 1
>AntiSPAM and Antivirus Layer: This would filter SPAM with Spamassassin
>or DSPAM and Vexira.
>|Mail free of spam an virus, is redirected to real mail servers
>[Virtual Server]
>(load balances real servers, for them to receive filtered mail)

The problem is that the initial servers have to use the same userlists
as the second servers or else they blindly accept everything.  Bounces
should be generated at the SMTP level by the initial receiving machines,
keep that in mind.  LDAP is a scalable solution for this.

>My questions are:
>Is this the ideal solution?(in the context of free software)
>How would you redirect sendmail from layer 1 to layer 2? 
>What MTA configuration would you recomend? Sendmail, Sendmail+Cyrus,
>qmail?

Postfix is also a good solution.  Qmail is terrific for throughput, but
if you want _any_ kind of features, you need to start patching it, at
which point, sendmail/postfix/exim gain the upper hand.  I prefer
sendmail or postfix myself as those are the two that I'm most familiar
with.
-- 
Regards...		Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.3-8mdkenterprise   1 user,  load average: 0.11, 0.07, 0.02


More information about the lvs-users mailing list