Initial Setup

VestaCP will have dealt with the most parts of the initial setup, but you also need to go through the following steps.

Vesta Recommendation

In its documentation, VestaCP recommends to do the following:

  1. Install Vesta Control Panel

  2. Get a domain name

  3. Link domain name with your new server. see how to set up vanity nameservers

  4. Make sure port 25 is not firewalled you can use SMTP diagnostic tool

  5. Make sure server hostname is FQDN compliant

root@localhost:~# hostname
localhost
root@localhost:~# v-change-sys-hostname mail.vestacp.com
root@localhost:~# hostname
mail.vestacp.com
  1. Set PTR record. Please contact your ISP to find out how to do it. Your ISP is most likely the company you are hosting your server with.

  2. Check server IP reputation. Blacklist Check

  3. Enable DKIM support. This is optional step but highly recommended. DKIM can be enabled in the Vesta under MAIL tab.

  4. Add email users and you are all set

Whitelisting

After having set the PTR records, you should also enter your domain name in the DNS Whitelist. That way, your server enters a global whitelist that some mail servers and clients may respect.