Problem with external MX with domains on the same server.
Posted: Thu 13. Jan 2022, 15:30
Hello,
I have this scenario and I'm a little baffled at the situation.
I have 2 customers on the same KeyHelp panel, let's call them customer A and customer B, customer A has the entire domain hosted on KeyHelp (website & e-mails) while customer B has only the website hosted on KeyHelp while his MX records are pointing to google MX-es. Both domains are controlled by my DNS servers, and they have valid records in KeyHelp, Costumer A has the MX of the KeyHelp panel server IP, and Customer B has ONLY the MX-es from google in the DNS Zone Editor.
All dig commands used on the KeyHelp bind master server and on the slave DNS servers are returning correct entries (eg: only the google MX-es are shown for Customer B on a dig @localhost customerB.com mx command)
Now here is the problem.
All other e-mails sent to customer B are properly sent to the correct MX addreses, but I suspect that somehow being both on the same server and only one of the having the MX-es on the same server, KeyHelp get's somehow confused and tries to deliver the mail to the local server instead of the proper MX records, thus, the errors in the mail.log.
Did someone else run into this problem ?
Any possible fixes available ?
Thank you!
I have this scenario and I'm a little baffled at the situation.
I have 2 customers on the same KeyHelp panel, let's call them customer A and customer B, customer A has the entire domain hosted on KeyHelp (website & e-mails) while customer B has only the website hosted on KeyHelp while his MX records are pointing to google MX-es. Both domains are controlled by my DNS servers, and they have valid records in KeyHelp, Costumer A has the MX of the KeyHelp panel server IP, and Customer B has ONLY the MX-es from google in the DNS Zone Editor.
All dig commands used on the KeyHelp bind master server and on the slave DNS servers are returning correct entries (eg: only the google MX-es are shown for Customer B on a dig @localhost customerB.com mx command)
Now here is the problem.
Code: Select all
Jan 13 16:22:00 ares postfix/submission/smtpd[80767]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <zzz@customerB.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<xxx@customerA.com> to=<zzz@customerB.com> proto=ESMTP helo=<keyhelp.panel.com>
Did someone else run into this problem ?
Any possible fixes available ?
Thank you!