On Wed, 8 Sep 2021, TTM wrote:
Wietse:
Without further information I can't say what mistake you made. Maybe
you're looking at an old message that is already in the queue.
What would be needed?
After each test, I clear thee queue with "postsuper -d ALL".
I'm wondering why postfix tries to deliver the message directly to the
recipient host on port 25 instead of using the relaymap.
At the moment i thing, the issue is connected with the missing rewrite
of the local address.
But here I need a hint. :-)
Wietse already have you the hint, or rather, the actual cause of your problem :)
You canonical map has:
Local_User_A@local.homenet us...@gmx.de
Local_User_B@local.homenet us...@gmail.com
but according to the log your "from" is "ttm@ttmsacer.homenet".
Your map doesn't contain/match anything related to "ttmsacer.homenet" (it only
has entries for "local.homenet"), so postfix (rightly) uses the default relay.
You'd need to have a line in your map for "ttm@ttmsacer.homenet".
Cheers,
Bernardo