I am using an external mail server via MX record.
I am successful of receiving emails to the external mail server.
I am running an Opencart application with vestacp.
When new orders, new customers, new inquiries are added etc etc, the system sends email to the store email.
I still have the email address added in my mail settings in vestacp if that isan important information for this problem. Should I delete this?
The problem is that those emails are still sent to the local mail server.
Not to the external mail server.
So right now I am checking the local email and the external email side by side for new emails.
DNS records from my domain registrar is pointed to the external mail server
DNS record of the Website are pointed to the external mail server as well
DNS record of Admin are pointed to the external server as well. Which I am not sure if this is correct.
But this does not resolve my problem
What I want to know:
1. How to resolve this problem. The end goal is for the application to send the email to the external mail server
2. I want to know what is the mail server vestacp is using and what is the config location of it?
3. Completely disable the local mail server to increase resource. When done, can I safely disable exim and spamassassin?
Cant see any error log for this one.
I also cannot deploy a phpinfo.php to know the mail server. I always get a forbidden website even my permissions are correct.