Hi, I need to run a website with a special DNS configuration and can't figure to make emails to work.
My client manages himself the DNS and has a dedicated Mail Server, only the website is pointed to Cyberpanel IP.
Practically the email routing should be Remote Mail Exchanger, but I can't figure how to configure.
What I tried:
I created the website under Cyberpanel and after that, I modified MX in local DNS records to the client's mail.domain.tld and IP then ai restarted.
I tried to send an email from my personal account on the same CyberPanel server, to one email address of my client (email working on dedicated email server).
Seems that the email server tries to deliver the email on this server, Cyberpanel one where the website is defined, not to the remote one.
All emails sent from my server, even those from webpage forms, failed to reach the client's email server, all of them landed on this server, are not sent to the desired server.
I tried all day to find a workaround to make the things working but with no success. Please can anybody enlight me how to manage and configure such a situation?