On 4/2/2012 7:53 AM, niket joshi wrote: > Hi, > > In our setup we have mail firewall which receives all the emails > from Internet. We have 4 MX's and we have pointed all the MX IP's on > firewall with equal preference. > > We then NAT packets from mail firewall to Ironport which handles > Spam Filtering and delivers mails to mail cluster for delivery. On > Ironport all mails from mx1 goes to Ironport1, mx2 to Ironport 2 and > so on until MX4. > > The problem we are facing here is that all mails come to Ironport1 > as mx1 is pointed to this IP and MX is cached by global MTA's. We > receive 75 mails in 10 seconds on our first Ironport whereas all > other Ironports are idle.
Seems the solution is to change your MX records. > So we decided to route mails based on mail size before mails go to > Ironport. Does anyone have idea of how to do mail routing based on > mail size using postfix. Not natively. You might be able to cobble something together using an external policy service that returns "FILTER transport:destination" based on size. http://www.postfix.org/SMTPD_POLICY_README.html http://www.postfix.org/access.5.html -- Noel Jones