On Tue, Aug 25, 2009 at 3:35 PM, Gary Smith<[email protected]> wrote:
>> We have a cluster of postfix servers through a load balancer.  I would
>> like to set up an external set of spamassassin servers where these
>> postfix servers simply query the spamassassin servers over the network
>> for spam decisions then drop or relay accordingly.   This is for
>> outbound email only.  I would prefer that spamassassin live outside of
>> these relay servers.  Is this possible?
>>
>> Thanks!
>
> Terry,
>
> Are you saying you want the spam processing to be on another computer or do 
> you want to hand the entire email to another cluster to process it.
>
> My recommendation is to setup a set of spamassassin servers and then run them 
> through the normal spamc pipe on the postfix server but just specify the 
> remote server to connect to (in our case a load balancer of spamassassin 
> instances).  In essence, make the SA processing a remote call.  It's easy to 
> do.
>
> This leads to a small problem through if you are using bayes.  You will 
> probably want to use bayes via MySql and then use a shared MySql server, 
> otherwise they will quickly get out of sync.
>
> Our environment
>
> Postfix (A) --> HANDOFF ClamAV (B) --> HANDBACK Postfix (A) --> PIPE to spamc 
> --> Postfix -> DEST
>
> WHERE:
> spamc -u filter -d <ip address of remote sa cluster/lb>
>
> This will take all of the load off the postfix server.
>
> Gary
>

Very cool.  I think that's exactly what we want.  How is the handoff
to clamav handled?  I would probably want that to be on the external
server too.

Reply via email to