Page 1 of 1

Mail Server of Vestacp?

Posted: Sun Sep 17, 2017 12:22 pm
by pipoy
Hi,

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?

Details:
Centos7
vestacp 0.9.8-17
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.

Re: Mail Server of Vestacp?

Posted: Wed Sep 20, 2017 6:57 am
by pipoy
For someone getting the same issue that the application is sending to local email instead of external email even if MX records are.

This is because the application is not set to SMTP.
And the email address exists in localhost.

This is already solved