Having problems getting postfix set up correctly.
In my case the server has several virtual domains. I have a system API that sends out emails and I want any bouncebacks to come to it. It's not the primary domain for the server.
Assuming abc.com is the primary domain and def.com is the one I need work, I have the following entries in various configuration files:
(I've also tried)
I can't use the primary domain because we use office 365 and the mail MX record points to microsoft not our server. This is also our web server, so I can't mess with the primary domain address.
The error I get back is
Recipient address rejected. User unknown in virtual alias table.
All I want to do is collect the bouncebacks from the mail_notifier account so I can automate handling for the end users. Any help is appreciated.