Hey so i have a weird one.
When an email is created, it provides all the settings as expected but on the port is says 465 when it does not work with 465, it only works with 587. (FOR SMTP)
Is there a way to change this, am i missing something?
Strange... I've just tested mine and for some reason 465 isn't allowed on the host firewall.
I haven't changed any rules on ufw either.
You will need to run: ufw allow 465/tcp
@Adam - is there an issue here?
Although I believe port 587 should be the standard these days, but this isn't allowed in UFW either.
You don't need 465 or 587 explicitly allowed in ufw because of the port forward in Docker. The only exception is for ipv6 where you may need to explicitly allow it.
465 is explicit SSL, 587 is STARTTLS. Both will work but the email client needs to be configured accordingly. Most email software will auto-detect the correct settings.