Hello peeps!
I have a Symfony Flex (v4) app on one of my droplets. I am using SwiftMailer in my app so i can send emails. It sends to another host (a mail server) the email so it can handles it.
The MAILER_URL is in an Apache2 SetEnv variable and it something like this:
SetEnv MAILER_URL "smtp://amazing.domain.org:25?etcetcetc"
The log of my applications says that it timed out
[2018-03-17 21:24:36] app.ERROR: Exception occurred while flushing email queue: Connection could not be established with host amazing.domain.org [Connection timed out #110] [] []
I am starting to believe that something is blocking it… maybe i need to add some outbound rule… any ideas?
Any rule i have to add to my firewall? to my ufw Ubuntu droplet?
Thanks for the help in advance. I love this community. Much love.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, can you please post the output of this command? It will check if your Droplet is able to communicate over the ports required to send emails externally:
nc -vz smtp.gmail.com 25
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.