How to set up the external email in VestaCP on VPS

When you want a website to use the external email server from VPS, you need to configure the DSN parameters on VestaCP. These steps apply to the Ubuntu 16.04 version and over.

External Email

Configure DNS for the external email in VestaCP on VPS

  1. Log in to the Control panel of your website on Vestacp.
  2. Click on the DNS tap.
  3. Click on the LIST RECORDS tap of the domain that you want to use the external email server.
  4. Locate and replace the IP address in the two records below to your external mail server IP. Please note: The IP 192.0.2.23 is an example.
    • mail A 192.0.2.23
    • smtp A 192.0.2.23
  5. Find and replace the email domain in the record below to your domain name of the external mail server. Please note: the email domain mail.example.com is an example, that you need to change into yours. Do not delete a dot (.) at the end domain.
    • @ MX mail.example.com.

Then, save it. You have just finished configuring the DNS parameters to use external emails that are different from the VPS hosting.
If you find it useful, please share it! Thank you!

About the author

Thom Ho

A person, who has developed WP websites for more than 5 years, has experience in SEO skills and WP hostings. Since tourism stopped, I have written this blog to share the WP and SEO skills with you.

Leave a Comment