Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postal v3.3.2 SMTP server does not support TLS while using SMTP credentials #2911

Closed
techlawctopus opened this issue Apr 5, 2024 · 0 comments

Comments

@techlawctopus
Copy link

Describe the bug

I generated SSL certificate using certbot, and enabled TLS by editing postal.yml with following config:

smtp_server:
  default_bind_address: "::"
  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

Mails sent with Postal web interface are successfully going through and they even say "Transport Security Received over an SSL connection", which is the expected behaviour.

But when I try to connect to SMTP server through external services, there is some issue during SSL handshake.
If my postal server is running on postal.example.com then my SSL certificate is also for the same domain, i.e. postal.example.com (I had turned off the postal server for while until certbot standalone server generated the SSL certificate).

My SMTP credentials still work with unencrypted messages, but I need to make it work with encrypted messages as well.

Not sure if this is due to some certificate issue (although postal web interface seems to be working fine with it), or is this due to the fact that port 25 does not support encrypted messages.

Environment details

  • OS: Ubuntu 22.04 LTS
@techlawctopus techlawctopus changed the title Postal v3.3.2 SMTP server does not support TLS while using SMTP credentails Postal v3.3.2 SMTP server does not support TLS while using SMTP credentials Apr 5, 2024
@willpower232 willpower232 converted this issue into discussion #2912 Apr 5, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant