Skip to content

Mail sending appear to be brokenΒ #12

@tszyszko

Description

@tszyszko

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions