SMTP mail_transaction does not close the connection properly #308

Closed
opened 2023-10-02 22:33:21 +03:00 by matzipan · 0 comments

Reproduction steps like in #307.

When melib closes the SMTP connection, greenmail produces the following log:

2023-10-02 18:48:02,781 DEBUG       smtp.SmtpConnection| Unexpected end of stream, read 0 bytes: 

Adding an extra QUIT before closing the connection makes greenmail happy:

2023-10-02 19:29:31,502 smtp:0.0.0.0:3025<-/10.0.2.100:49546 DEBUG    util.LineLoggingBuffer| S: 221 /10.0.2.100 Service closing transmission channel\r\n
Reproduction steps like in #307. When melib closes the SMTP connection, greenmail produces the following log: ``` 2023-10-02 18:48:02,781 DEBUG smtp.SmtpConnection| Unexpected end of stream, read 0 bytes: ``` Adding an extra `QUIT` before closing the connection makes greenmail happy: ``` 2023-10-02 19:29:31,502 smtp:0.0.0.0:3025<-/10.0.2.100:49546 DEBUG util.LineLoggingBuffer| S: 221 /10.0.2.100 Service closing transmission channel\r\n ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#308
There is no content yet.