Skip to content

[Bug] - Unknown mailsmtp error 27 (SSL Error) when adding IMAP/SMTP account #2004

@zeph

Description

@zeph

duplicating/reopening here as it seems to be the core of this issue Foundry376/Mailspring#341

Summary
Mailspring, which is using this library, is failing in negotiating TLS to some servers. An example, as it is the one I stumbled on ... is the one provided by the Free Software Foundation Europe to its fellows https://wiki.fsfe.org/action/login/TechDocs/SMTP

Connection Logs

----------SMTP----------
connect mail.fsfe.org 587
220 mail1.fsfe.org ESMTP Postfix (Debian/GNU)
init
EHLO fluffy.local
250-mail1.fsfe.org
250-PIPELINING
250-SIZE 20971520
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 CHUNKING
start TLS
STARTTLS
220 2.0.0 Ready to start TLS
QUIT


SASL_PATH: 

SMTP Last Response Code: 220
SMTP Last Response: 2.0.0 Ready to start TLS


mailsmtp Last Error Code: 27
mailsmtp Last Error Explanation: MAILSMTP_ERROR_SSL
mailsmtp Last Error Location: 3
mailsmtp Last Auth Type: 0

I see if I can create a unittest for it... BRB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions