The smtp(s) ports 25, 465, and 587 have been opened in the firewall.
If I telnet mail.mydomain.com on ports 25 or 587 the 220 status is returned. However I get no response on port 465 so I assume that port is blocked or Postfix is not listening on that port (master.cf does include smtps settings although not seem ‘465’ specifically listed).
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!
Hello,
What is the SMTP service that you are using? And also has it been configured to listen on port 465? You can check that with:
- netstat -plant | grep 465
If you do not see any output, then this would indicate that your SMTP service is not listening on that port.
Best,
Bobby
Hi @cutegrayanemone-243261243130242e72596233624177705a432f4f597575322f5a537a2e,
To check if anything listens on port 465, SSH to your Droplet and type in:
- netstat -tulpen | grep 465
I’ll assume that since you can telnet on port 25, you are using that instead of 465. Try that, if you see port 465 in netstat and still are unable to connect, then it’s most likely blocked but I just believe your Postfix is listening port 25 rather than 465.
Hi. I use Debian Linux. In the master.cf is commented block “smtps…”. Uncomment it and reload postfix service. It looks like:
#smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
salut Grumpa
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.