What I'm trying to do: Send out Wordpress notifications using SMTP/Mailgun instead of PHPmailer.
- I have a production VPS with one IP and several Wordpress installs with different domains. It has WHM & cPanel with exim/dovcot.
The mail port for it is blocked so I had to create a relay server with exim/dovcot. With this install I do not have WHM or cPanel.
Currently Wordpress is able to send out emails using PHPMailer and the relay is working fine, but I'm unable to send WP notifications to Google Apps. It works fine with a regular gmail account but not G-apps.
I'd rather use a service like Mailgun to receive emails from Wordpress and then send them out through Mailgun to whomever they need to go to for each domain using a subdomain.
Currently I have the required dns setup with mailgun and the subdomain is validated. I setup the TXT, CNAME and MX records in Godaddy and I have the records pointing to a subdomain. mg.mydomain.com
Is there anything I need to setup or change with either of my servers to allow SMTP to work with Mailgun?
Is there anything I need to change in WHM / Cpanel
Any help would be very appreciated. If you have a better suggestion as to how to get around the blocked port please let me know. Thanks in advance!