docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
5.5k stars 364 forks source link

SMTP SSL Error #304

Closed 0nano closed 1 day ago

0nano commented 3 days ago

image

I'm trying to connect to my Stalwart mail server but I get this error and I can't send anything. I am also trying to use other ports 465 and 25, but this time I get this error.

image

omohokcoj commented 3 days ago

@0nano could you please share a screenshot of your SMTP configs form? Also try to set Security to Auto

0nano commented 3 days ago

image The error is the same for 587 and 25 port with security set to auto, but with 465 port the connection does not work and shows TCP Time Out.

omohokcoj commented 2 days ago

@0nano 465 is the port you should probably use - maybe SMTP ports are blocked by your server firewall. Can you verify that SMTP works on your server inside docker - with curl or other app that uses SMTP?

0nano commented 1 day ago

Ok, I have managed to connect to my mail server.I need to use the container name to use the Docker DNS to make the connection work.Before I only tested with the container IP, I think the parsing might not work well with the private IP in this case.

I tested inside the container, the connection with IP and container name both work well, just to add more detail I use openssh to try the connection.