Unable to Send Emails from CyberPanel on AWS and Vultr

Hello CyberPanel Community,I’m currently facing an issue with sending emails from my two VPS setups—one on AWS and the other on Vultr. Both of my domains are using Cloudflare, and I’ve already configured the necessary DNS records, including SPF, DKIM, MX, and mail.domain records.Here’s a summary of the problems I’m encountering:

AWS VPS: When trying to send an email, I receive the following error:

[{"address":"[email protected]","delay_reason":"Host or domain name not found. Name service error for name=domain.com type=MX: Host not found, try again"}]

Vultr VPS : The error I get is:

[{"address":"[email protected]","delay_reason":"connect to domain.com[94.23.206.89]:25: Connection timed out"}]

I’ve already added port 25 to the security group on AWS, but it hasn’t resolved the issue. Both servers can receive emails without any problems, but sending is where I’m stuck.

Does anyone have suggestions on how to troubleshoot or fix this issue? Any help would be greatly appreciated!

Thank you!

I have successfully unblocked the SMTP port on my Vultr server, however, I am currently experiencing an issue where both outgoing and incoming emails are showing as ‘hold.’ I would appreciate any guidance on the next steps to resolve this

I can now send emails! I encountered two issues along the way: first, the Vultr SMTP port was blocked, and second, after installing MailScanner, it caused all inbound and outbound emails to stop working. I resolved this by uninstalling MailScanner, and everything is functioning smoothly now.

For our AWS setup, we plan to use a different mail server provider, but I suspect we might face similar issues.

I hope this information is helpful!

Try to use External SMTP services to send email on your site. I use Brevo SMTP which is free for 300 daily emails. You can try this open-source free lightweight SMTP plugin.

Thank you for the information. I’ve previously worked with Brevo and SMTP2GO on other websites. My goal here was to set up standard email accounts under the @mydomain address and keep track of sent and received emails. After Vultr support opened the necessary ports, everything is now working as expected. Thanks again!

Vultr and DigitaOcean mostly block SMTP 25 ports for new account to reduced spams usage.