~pfr


#282 Add support for CRAM-MD5 authentication 3 months ago

Comment by ~pfr on ~rjarry/aerc

Could someone with more knowledge and experience than me submit this patch as a PR? Is this likely to be accepted?

#282 Add support for CRAM-MD5 authentication 3 months ago

Comment by ~pfr on ~rjarry/aerc

When I try with smtps:// I get: send:: Connection Failed: smtp.DialTLS: context deadline exceed

if I try with smtps+login:// I get: send:: Connection Failed: smtp.DialTLS: tls: first record does not look like a TLS handshake

I'll open an issue over on GitHub go-sasl

#282 Add support for CRAM-MD5 authentication 3 months ago

Ticket created by ~pfr on ~rjarry/aerc

As per: https://lists.sr.ht/~rjarry/aerc-discuss/%3CD4YL8O3SL7QH.W4JIYOV5HMNE@fastmail.net%3E

My Mail server of choice (mx.sdf.org) uses "MD5 Challenge-Response" AKA CRAM-MD5. But https://git.sr.ht/~rjarry/aerc/tree/master/item/lib/send/sasl.go does not handle that, as emersion/go-sasl misses it, too.

Adding it would be trivial (10 lines from https://github.com/toorop/tmail/blob/a7b1964828ecec1f7d49aa1e318d893b39ca7d60/core/deliverd_auth.go#L99)

I'd submit a PR but I'm not a developer so I'm not confident in doing so.

Thank you -- I love aerc <3