postalserver / docs

📚 Documentation for the Postal mail server!
https://docs.postalserver.io
137 stars 61 forks source link

The TLS/SSL certificate does not support #25

Closed JanesDev closed 2 years ago

JanesDev commented 2 years ago

After installing and configuring postal, I wanted to send an email through the ultramailer application using a secure connection, but this did not work and I was made to understand that the server does not accept secure connections. so after research, I saw that we were asking to generate an ssl certificate for the domain which I have and that the following lines had to be added to the postal configuration file: tls_enabled: true; tls_certificate_path: /etc/letsencrypt/live/postal.example.com/fullchain.pem; tls_private_key_path: /etc/letsencrypt/live/postal.example.com/privkey.pem; and now the server no longer shows me the same error but it shows me this: SMTP send error Failure sending mail. Received an unexpected EOF or 0 bytes from the transport stream.

willpower232 commented 2 years ago

It sounds like you need to provide the certificate files to Postal which is slightly more of a challenge now the configuration is provided through a docker-compose.yml file.

Have a look in the discussions in the main repository postalserver/postal and open a discussion there if you continue to have problems.