Want to subscribe to topics you're interested in?
Become a Member

Email SMTP Service.

Discussion in 'Domains, DNS, Email & SSL Certificates' started by DaB, Aug 31, 2026.

  1. DaB

    DaB Member

    48
    5
    8
    Aug 10, 2016
    Ratings:
    +7
    Local Time:
    6:47 PM
    Current
    Current
    I am trying to configure and SMTP service to be used with Invision forum on a Digital Ocean droplet.

    I have setup the SMTP service with Resend, cut and paste the credentials into the Invision settings but it will not connect.

    I have checked the CFS Firewall and ports 465 and 567 are open.

    I get this message in the forum settings.

    Code:
     test email could not be sent. Check the settings entered are correct or contact your hosting or SMTP provider for more information.
    
    Connection refused
    What am I doing wrong?

     
  2. eva2000

    eva2000 Administrator Staff Member

    59,718
    12,541
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,185
    Local Time:
    3:47 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Probably need non standard ports as Digital Ocean now blocks them by default Why is SMTP blocked? | DigitalOcean Documentation

    Send emails with SMTP - Resend

     
  3. DaB

    DaB Member

    48
    5
    8
    Aug 10, 2016
    Ratings:
    +7
    Local Time:
    6:47 PM
    Current
    Current
    I have tried the other ports and it still doesn't work. Is this a limitation with running a droplet on DigitalOcean, I can change host if need be.
     
  4. eva2000

    eva2000 Administrator Staff Member

    59,718
    12,541
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,185
    Local Time:
    3:47 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Did you add the other ports 2465, or 2587 to CSF Firewall outbound ports whitelist in /etc/csf/csf.conf TCP_OUT and TCP6_OUT comma separated list and restart CSF with
    Code (Text):
    csf -ra

    See CSF Firewall - Centmin Mod LEMP Stack
     
  5. DaB

    DaB Member

    48
    5
    8
    Aug 10, 2016
    Ratings:
    +7
    Local Time:
    6:47 PM
    Current
    Current
    All working now, I got the port number wrong.
     
  6. eva2000

    eva2000 Administrator Staff Member

    59,718
    12,541
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,185
    Local Time:
    3:47 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Ah that help! :)