Thanks Viktor for your remarks:
- in my environment I do not have other FILTER rules.
- As far as I understood if an email has multiple recipients, and one
of them triggers check_recipient_mx_access all emails are routed
through the smtp relay specified by FILTER? If it is the case, it is
not a pro
HI
Ok, done
Thanks
-Original Message-
From: owner-postfix-us...@postfix.org On
Behalf Of Viktor Dukhovni
Sent: Thursday, April 02, 2020 10:42
To: postfix-users@postfix.org
Subject: Re: Relay based on recipient mail server IP address
On Thu, Apr 02, 2020 at 10:31:32AM +0200, ego
On Thu, Apr 02, 2020 at 10:31:32AM +0200, ego...@gmail.com wrote:
> Thanks Wietse, it worked!
Do you have good reason to expect that this will never misroute
multi-recipient email? There's a difference between "it worked
once" (in a simple test-case) and "it is reliable enough for
production use
Thanks Wietse, it worked!
Il giorno mer 1 apr 2020 alle ore 15:58 Wietse Venema
ha scritto:
>
> ego...@gmail.com:
> > Hi everybody, is it possible to define a transport map based on
> > recipient mail server address instead of recipient domain?
>
> Postfix reads the transport map before it knows
ego...@gmail.com:
> Hi everybody, is it possible to define a transport map based on
> recipient mail server address instead of recipient domain?
Postfix reads the transport map before it knows the server IP address.
You can override the transport map with a FILTER command.
However:
- This works o
Hi everybody, is it possible to define a transport map based on
recipient mail server address instead of recipient domain?
Something like this:
cat /etc/postfix/transport
123.456.123.456 smtp:[relayhost.com]
Or is there another way to achieve this?