Hi,

 

I have a client with Postfix used as the main mail relay for a high
volume e-commerce site. All mail to outbound destinations is relayed
from sendmail processes to 2 main Postfix processes in the DMZ. Postfix
relays everything to  a separate Postini server outside.

 

 They've come to me with a requirement to do some mail filtering/routing
at the Postfix layer. Postini can't do it, apparently. This is the first
such request to manage mail routing in Postfix according to unique
requirements. Until now everything is going through Postfix regardless
of content, sender, recipient, etc.

 

The new requirements requested are to:

 

relay emails 

   with Sender address f...@sub.domain.com 

   and To address of *.bar.net

to smtp.abc.bar.net

 

All other mail should continue to go to the default relay (the Postini
server).

 

So, I looked into the manual and some list archives and found the
sender_dependent_default_transport_maps option. I see how this could be
used to alter the relay based on the Sender. OK.

 

What I have not found and am for which I am requesting help, if anyone
has a pointer or experience in this area, is the ability to combine the
sender_dependent configuration with a recipient condition. Is there a
straightforward way to configure this? Or do I need to script a custom
filter? Or something else?

 

Thank you for your time and any ideas or suggestions.

 

Scott Stirling

AT&T, Boston

 

 

Reply via email to