Wietse Venema via Postfix-users:
> Jeff Peng via Postfix-users:
> > Hello
> > 
> > I saw gmx.de/web.de have a policy that, if the submission IP is not from 
> > DE/EU, messages will be routed to a different gateway which is listed in 
> > spamhaus already. Otherwise if submission client's IP is in DE/EU, 
> > messages will be routed out via the normal gateway whose IP is clean. 
> > How to customized my own transport for that?
> 
> You can configure customized SMTP clients in master.cf, each with
> an appropriate smtp_bind_address setting, and use transport_maps
> to choose between those clients.
> 
> References:
> https://www.postfix.org/postconf.5.html#smtp_bind_address
> https://www.postfix.org/transport.5.html
> 
> AI is an experimental feature of this mailing list.

A small improvement: instead of transport_maps, one could use a
FILTER action in check_policy_service, SMTP server acccess table,
or in header/body_checks.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to