Skip to content

Commit

Permalink
Update smtpd_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLandauer authored Dec 14, 2024
1 parent 7ccd8e2 commit f93ab9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/smtpd/smtpd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ func TestCmdHELO(t *testing.T) {

// Verify that HELO resets the current transaction state like RSET.
// RFC 2821 section 4.1.4 says EHLO should cause a reset, so verify that HELO does it too.
cmdCode(t, conn, "MAIL FROM:<[email protected]>", "250")
cmdCode(t, conn, "RCPT TO:<[email protected]>", "250")
cmdCode(t, conn, "mail from:<[email protected]>", "250") // Also testing case-insensitivity
cmdCode(t, conn, "rcpt to:<[email protected]>", "250")
cmdCode(t, conn, "HELO host.example.com", "250")
cmdCode(t, conn, "DATA", "503")

Expand Down

0 comments on commit f93ab9e

Please sign in to comment.