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

Mail sending appear to be broken #12

Open
tszyszko opened this issue Aug 15, 2024 · 0 comments
Open

Mail sending appear to be broken #12

tszyszko opened this issue Aug 15, 2024 · 0 comments

Comments

@tszyszko
Copy link

tszyszko commented Aug 15, 2024

It looks emailing is not working when running in Docker / kubernetes on arm64 environments. I've tried building with the supplied debian image, as well as updating to use bookworm, and updating libssl1.1 -> libssl3 / openssl, but it appears to fail to setup the TLS tunnel when encryption is enabled, and fails to pass authentication parameters when encryption is switched off.

e.g.

│ (DEBUG) - connecting to 34.36.169.126:587                                                                                                                                                                │
│ (DEBUG) - Read: 220 mailosaur.net Mailosaur SMTP service ready<CRLF>                                                                                                                                     │
│ (INFO) - connection established to 34.36.169.126:587                                                                                                                                                     │
│ (DEBUG) - Wrote: EHLO raider-769d4989d8-dqbhf<CRLF>                                                                                                                                                      │
│ (DEBUG) - Read: 250-mailosaur.net<CRLF>250-AUTH LOGIN PLAIN CRAM-MD5<CRLF>250-DSN<CRLF>250-SMTPUTF8<CRLF>250-8BITMIME<CRLF>250 STARTTLS<CRLF>                                                            │
│ (DEBUG) - server mailosaur.net with {StartTls, Authentication(Login), SmtpUtfEight, Authentication(Plain), EightBitMime}                                                                                 │
│ (DEBUG) - Wrote: STARTTLS<CRLF>                                                                                                                                                                          │
│ (DEBUG) - Read: 220 Ready to start TLS<CRLF>                                                                                                                                                             │
│ (DEBUG) - Wrote: QUIT<CRLF>                                                                                                                                                                              │
│ (INFO) - Outcome: Success                                                                                                                                                                                │
│ (DEBUG) - writing head: Http11 SeeOther                                                                                                                                                                  │
│ (DEBUG) - headers [                                                                                                                                                                                      │
│ Headers { Location: /initiate/recover/?result=success                                                                                                                                                    │
│ , Server: Rocket                                                                                                                                                                                         │
│ , Content-Length: 0                                                                                                                                                                                      │
│ , }]                                                                                                                                                                                                     │
│ (INFO) - Response succeeded.

I haven't had a chance to drill down further (I've not worked with rust before), but have also noticed that the rust version is getting a bit old now, had a go to try to build on newer but any tips on where to get started would be much appreciated !

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