Skip to main content

Unable to send email to external domain

Comments

5 comments

  • Tesvila
    I did not set any Firewall on my droplet and herewith attach the Firewall status.
    0
  • cPRex Jurassic Moderator
    Hey there! It's possible your hosting provider doesn't allow outbound email, as many providers block port 25 on their networks. A quick way to test this is to try a manual connection from the command line of the server - here's a quick test to the Gmail network: telnet mail-smtp-in.l.google.com 25
    Try running that from your server and let us know what output you receive.
    0
  • Tesvila
    Hello there, Thanks for your reply. I herewith attach the result for your perusal. Thanks
    0
  • cPRex Jurassic Moderator
    Thanks for that output. This would confirm that port 25 is blocked on your system. You would either need to speak with your hosting provider or datacenter to see if they can open that port for you, or you'll need to configure a smarthost to send mail from that server:
    0
  • rbairwell
    From DigitalOcean's support page: [QUOTE]Why is SMTP blocked?... SMTP port 25 is blocked on all Droplets for new accounts to prevent spam and other abuses of our platform. Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation. To send mail from DigitalOcean, we recommend using SendGrid
    According to their community there, at least used to be, a way of getting access: [QUOTE] It is possible that port 25 is closed for new accounts. This is something DigitalOcean has been doing to reduce spam on the network. To qualify for the ability to send out emails, new accounts are required to wait 60 days before a request for removing the restriction could be raised. Once your account has reached 60 days of stable use, you could reach out to the DigitalOcean support team so they could look into this for you: [QUOTE]
    0

Please sign in to leave a comment.