Commit 5dd365f
committed
smtp: treat a mid-session helo/ehlo like a rset
A HELO or EHLO issued later in the session must clear all buffers and
reset the state exactly as if a RSET had been issued (RFC 5321 4.1.4).
Instead it was ignored, merging the next envelope into the abandoned one
and attributing the delivered message to the abandoned sender.
Handle a HELO/EHLO arriving after an envelope has been started like a
RSET, completing the transaction on the server's 250 reply.
Ticket: OISF#87151 parent 0fbec65 commit 5dd365f
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1418 | 1426 | | |
1419 | 1427 | | |
1420 | 1428 | | |
| |||
0 commit comments