On the "transport" man page I can see this information:

...
In  order  to  deliver internal mail directly, while using a mail relay
for all other mail, specify a null entry for internal destinations  (do
not change the delivery transport or the nexthop information) and spec-
ify a wildcard for all other destinations.

*my.domain :*
*.my.domain :*
** smtp <http://www.postfix.org/smtp.8.html>:outbound-relay.my.domain *...


Do you mean the correct synthax is:

*my.domain*
*.my.domain*
** smtp <http://www.postfix.org/smtp.8.html>:outbound-relay.my.domain*

Rgds.
Claude Chéret


Le 06/10/2021 à 19:44, Bill Cole a écrit :
On 2021-10-06 at 13:24:15 UTC-0400 (Wed, 6 Oct 2021 13:24:15 -0400)
Viktor Dukhovni <postfix-users@postfix.org>
is rumored to have said:

On 6 Oct 2021, at 1:07 pm, Bill Cole <postfixlists-070...@billmail.scconsult.com> wrote:

That is surprising because the format is all wrong. Those freestanding ':' should make everything there useless.  See the man page for transport(5). A hash map has exactly 2 tokens per line, whitespace delimited, with the second being of the format 'transport:nexthop' where 'transport' has an entry in master.cf.

Actually, no.  The free-standing ":" is a documented option needed to
avoid falling into the wildcard "*" case.

Clarifying:

All three lines do nothing because every line has a freestanding ':' making the whole table useless.

Reply via email to