I would like to have the possibility to run the following setup:
local accounts:
user1@domain.com
user2@domain.com
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:
domain.com smtp:[IP.OF.SMTP.SERVER]
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"?
Recent comments
22 hours 11 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
2 days 3 hours ago
2 days 5 hours ago