DAVID HASSILEV:
> 
>  Hello, I have tried to search through the list archives but have not found
> what I'm looking for so I thought I'd post to the list.

To implement routing policies depending on message size, 

- Implement a Postfix policy daemon to examine the message size
attribute (invoked from smtpd_end_of_data_restrictions). 
See:
http://www.postfix.org/SMTPD_POLICY_README.html
http://www.postfix.org/postconf.5.html#smtpd_end_of_data_restrictions
http://www.postfix.org/postconf.5.html#check_policy_service

- Have the policy daemon respond with "FILTER A:" or "FILTER B:"
or "dunno".  A and B are the names of smtp client entries in
master.cf, each with their own "-o smtp_bind_address=xxx" option.
See:
http://www.postfix.org/master.5.html (for "-o name=value)
http://www.postfix.org/postconf.5.html#smtp_bind_address

This requires Postfix 2.7 snapshot 20100117 (or later).  To make
this work you will also have to tweak the network stack to support
two "default" routes to the outside world. I can tell you only the
Postfix side.

        Wietse

Reply via email to