[pfx] Re: how to implement this route
Jeff Peng via Postfix-users: > On 2024-06-23 20:24, Wietse Venema via Postfix-users wrote: > > 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. > > Thanks Wietse. other than binding multi-IP on a same host, is it better > to have multi-geobased-MTAs for incoming messages? My response was a joke. It's the kind of useless answer that an AI would produce. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: how to implement this route
On 2024-06-23 20:24, Wietse Venema via Postfix-users wrote: 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. Thanks Wietse. other than binding multi-IP on a same host, is it better to have multi-geobased-MTAs for incoming messages? References: https://www.postfix.org/postconf.5.html#smtp_bind_address https://www.postfix.org/transport.5.html appreciate for the references. AI is an experimental feature of this mailing list. what AI is used for this mailing list? Thanks. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: how to implement this route
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
[pfx] Re: how to implement this route
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. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org