Zalezny Niezalezny:
> Hi,
> 
> is it possible to route messages base on the sender IP address ?
> 
> So for example from host A I would like to route all messages to host Z and
> from the rest of the hosts to host Y.
> 
> Is it possible some how to configure it ?

You can use the FILTER action in a check_client_access table to
deliver an email message via a specific host or message delivery
transport.

some-pattern    FILTER smtp:host
other-pattern   FILTER special-smtp: (postfix 2.7 or later)

Ditto with policy service:

action=FILTER smtp:host (or special-smtp:)

        Wietse

Reply via email to