I have a server which has the name server1.mydomain.com This server is used mainly as web server and as mail server for several domains.
But it is NOT the mail server for mydomain.com. The mail server for mydomain.com is mail.mydomain.com.
Sending mails to various external email addresses is working fine. All the mails are delivered correctly. All the client domains hosted on this systems can both send and receive mails correctly.
But unfortunately, I have an issue when sending mails to [email protected]. It seems as if Postfix does not check who the responsible mail server for mydomain.com might be. Instead it expects itself to be the correct mail server. As none of the users of mydomain.com are known to my server (it isn't the mail server of the domain after all), all the mails sent to [email protected] keep getting an error message saying: "Recipient address rejected: User unknown in virtual mailbox table" which is clear to me...
How can I pursuade postfix to deliver mails (addressed to anyone from mydomain.com) to mail server of mydomain.com instead of processing them itself? All the other mails should be processed as is...
Best regards, Tom