Skip to content
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

Unable to send emails with postfix #200

Open
loxK opened this issue Jan 14, 2025 · 0 comments
Open

Unable to send emails with postfix #200

loxK opened this issue Jan 14, 2025 · 0 comments

Comments

@loxK
Copy link

loxK commented Jan 14, 2025

I have an email server powered by postfix. My clients can connect using these settings :

So I have :

PDS_EMAIL_SMTP_URL= smtps://user%40domain.com:####@mail.domain.com:587/

When PDS send an email I have this error :

{"type":"Error","message":"181C3F0CD4700000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:\n","stack":"Error: 181C3F0CD4700000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:\n","library":"SSL routines","reason":"wrong version number","code":"ESOCKET","command":"CONN"},"msg":"unhandled exception in xrpc method com.atproto.server.requestPasswordReset"}

But I can connect to it with my clients (indeed) and OpenSSL :

# openssl s_client -starttls smtp -connect  mail.domain.com:587
[...]
---
SSL handshake has read 3397 bytes and written 428 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
[...]

What am I doing wrong ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant