Skip to content

Commit 01c65cf

Browse files
committed
Finally fix tests
Took way too long.
1 parent ef7fa21 commit 01c65cf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

internal/endpoint/smtp/smtp.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ type Endpoint struct {
7272

7373
sessionCnt atomic.Int32
7474

75-
authNormalize authz.NormalizeFunc
76-
authMap module.Table
77-
7875
listenersWg sync.WaitGroup
7976

8077
Log log.Logger

tests/multiple_domains_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func TestMultipleDomains_SeparateNamespace(tt *testing.T) {
107107
user3SMTP := t.Conn("submission")
108108
defer user3SMTP.Close()
109109
user3SMTP.SMTPNegotation("localhost", []string{"AUTH PLAIN"}, nil)
110-
user3SMTP.SMTPPlainAuth("user3@test2.maddy.email", "user3", true)
110+
user3SMTP.SMTPPlainAuth("user1@test2.maddy.email", "user3", true)
111111

112112
user1.Writeln(`. LIST "" "*"`)
113113
user1.Expect(`* LIST (\HasNoChildren) "." INBOX`)

0 commit comments

Comments
 (0)