src/dc_smtp.c:180
mailsmtp_auth() returns MAILSMTP_ERROR_AUTH_LOGIN
libs/libetpan/src/low-level/smtp/mailsmtp.c:1060
returns result from mailsmtp_auth_type()
libs/libetpan/src/low-level/smtp/mailsmtp.c:1032
returns result from mailsmtp_auth_sasl()
libs/libetpan/src/low-level/smtp/mailsmtp.c:1379
this is where MAILSMTP_ERROR_AUTH_LOGIN is returned from, which is due to sasl_client_start() failing, which returns status -4, which according to libs/cyrussasl/include/sasl/sasl.h corresponds to SASL_NOMECH (mechanism not supported)
In the docker case, we can see that the client doesn't send
AUTH PLAIN ZGVsdGExAGRlbHRhMQBkZWx0YTE=back. So it's possible that something goes wrong before this, so we don't reach that point in the code. Will throw in someprintfand see if we can get more information.