My company owns a server with 10 sites, all using Cloudflare traffic, except for the emails.
In one of them, is a community/streaming Wordpress platform, which uses emails ALOT.
The server sends emails for email confirmation, passwords changes, informations, marketing, etc.
I know that Cloudflare does not support email traffic, that’s why we have greyed the mail.domain.pt.
Everything worked fine for the last year. But since last week, I can’t manage to send emails with the server with the exact same configuration.
I use WP SMTP Mail plugin to force some of the WP configs. Everytime that I use the plugin to send a test email, with Cloudflare activated on domain.pt and www.domain.pt, the request takes forever to load and is unable to send the test email giving me a 524 Cloudflare timeout error.
When I deactivate Cloudflare, all emails on the website are back to normal and the email test page of WP SMTP Mail plugin works and sends the email in less than a second… So it can’t be a exceed of the 100seconds limit for the timeout.
Any thoughts on this?
The normal configuration as follows:
mail.domain.pt points to original server
MX points to original server
domain.pt points to Cloudflare
www.domain.pt points to Cloudflare
wp-admin with Cloudflare Cache Bypass