Amavis and Postfix in a cluster with smtpd_proxy_filter

Carsten postfixer99 at
Fri Aug 29 15:53:20 CEST 2014

Hello all together,

I've got a question to my clustering setup.

I've got several firewalls, which receive Mails from the Internet, and 
they should send them to dedicated amavis nodes for scanning.
This should be done by using smtpd_proxy_filter to be able, to directly 
reject spam and virus messages.

The Firewalls have the IPs, and
I have got a loadbalancer VIP, which sends the packets to 
the dedicated amavis nodes and
The problem is the way back to one of the firewalls. I know, that I can 
use $forward_method and $notify_method, but which IPs should I put in there?
I don't know, which Firewall is sending the request to amavis at the 
moment, so i can't statically define the IP to send back on Port 10025.
I think, the mail needs to go back to the same Firewall von Port 10025, 
which originally contacted amavis.

How can I archieve this or is there a better way to use amavis in a 
cluster setup?

Thanks in advance


More information about the amavis-users mailing list