Transactional SMTP Relay requirements for Cloudflare
Log into your VPS using SSH on macOS or PuTTY on Windows
*** Note: Use the the real IP address of your VPS above, not 1.2.3.4, this is just a placeholder.
Change directory to your ESP installation:
You must be on the latest build for Let's Encrypt to work:
Run this command and provide your secondary SMTP Relay subdomain and domain you created just for this purpose as an argument.
*** Note: Use the the real subdomain and domain you created for this purpose above, not smtprelay.yourdomain.com, this is just a placeholder.
Restart your ESP:
Run the following command and when you're asked which editor to use, select nano:
Copy and paste the following into the bottom of the editor, change the placeholder domain to the real subdomain and domain you created for this purpose, and hit ctrl-x to save:
*** Note: Use the real subdomain and domain you created for this purpose above, not smtprelay.yourdomain.com, this is just a placeholder.
*** Note: If your ESP is installed somewhere else other than /root/edcom-install you will need to modify that as well.
You're done! Make sure you use TLS for your Transactional SMTP Relay settings and not SSL in the configuration of your connecting applications.
Last updated
Was this helpful?