On 2021-10-07 at 08:26:41 UTC-0400 (Thu, 7 Oct 2021 14:26:41 +0200)
Claude <claude.che...@laposte.net>
is rumored to have said:

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*

Your attempt to markup that text is a hindrance to clear communication. Using actual *plain* text is essential when communicating plain text config details. I have no idea what, if any, difference between those two you are attempting to ask about.


Your original message said:

                b) I try with a custom 'tranport_maps" parameter like this:

                 * transport_map = hash:/etc/postfix/transport
                
                 with the "transport" file like this:
                
                 my-domain.fr  :
                 .my-domain.fr :
                 *             : another-mail-server.fr


The last of the three lines has a bare ':' which definitely should not be there. If all lines include a bare ':' then the whole file does nothing. I cannot judge whether that alone would fix your problem, as it seems that you have not settled on a consistent replacement of your domain(s?) with other names and have only included a small subset of your configuration rather than the output of 'postconf -nf' and 'postconf -Mf' which would provide all of the relevant details.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to