Skip to content

Roundcube sees SMTP 220 as an error response instead of OK, after sending STARTTLS #7816

@Ratchet-master

Description

@Ratchet-master

SMTP code 220 is perfectly acceptable and generally means the mail server is ready to continue but roundcube sees this as an error code and displays authentication error and uses QUIT after STARTTLS was accepted.

Example:

[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Connecting to tls://***REDACTED***:587...
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 220 ***REDACTED*** ESMTP Postfix (3.3.1)
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Send: EHLO ***REDACTED***
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-***REDACTED***
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-PIPELINING
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-SIZE 10240000
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-VRFY
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-ETRN
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-STARTTLS
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-ENHANCEDSTATUSCODES
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-8BITMIME
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250-DSN
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 250 SMTPUTF8
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Send: STARTTLS
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Recv: 220 2.0.0 Ready to start TLS
[05-Jan-2021 23:35:41 +0000]: <knedr1j4> Send: QUIT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions