Web UI docker - email on port 465 failing: i/o timeout

I’m attempting to get emailing working but have been unsuccessful. I am using same config as I have in other working containers but the ‘test’ email always fails with error:

Failed to send the email: read tcp 172.x.x.x:37342->198.x.x.x:465: i/o timeout.

There are no errors in the docker logs. The smtp server I am using (as specified by my hosting provider, is server187.web-hosting.com:465. This works in other containers. Help!

EDIT: I’ve also tried setting the email_skip_verify: true flag, but still no luck, same error.

It can be anything — connectivity issue, firewall, packet fragmentation and mismatched mtu,….

I would start with testing connectivity from within the container, to distinguish duplicacy issue from environment.

It’s on the same docker network and same container configuration as other containers with working SMTP connections. Is there any documentation for this in regards to docker that might indicate anything different from standard configs? Any way to enable more verbose logging?

EDIT: I confirmed that I am able to both ping and telnet into the smtp server from within the duplicacy container. So that leads me to believe there is something wrong with duplicity or that I’m missing configuration somewhere.

EDIT 2: I’m not this matters but I notice that every time I test the connection and I get the error message, the container’s outgoing port changes (but always points at the SMTP server’s port 465.

Hey, did you ever figure this out? Having the same issue on Unraid/Docker. Confirmed that the Duplicacy container can ping the SMTP host, and I use the same SMTP settings within another container on the same Docker network.