I would like to have the possibility to run the following setup:
In the domain table, I've added domain.com and in the mailbox table I've added user1 and user2. This functions without problems.
If an email is received for a non existing local mailbox I want the mail to be forwarded to a different SMTP server.
In the transport table I added an entry:
But unfortunately all mail is now forwarded to the SMTP server and mail to user1 and user2 are not delivered on the local system.
What can I do so that postfix does "mailbox before transport" instead of "transport before mailbox"?