We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Attempting to log into a yggmail instance with AUTH LOGIN causes a panic:
AUTH LOGIN
220 <Snip> ESMTP Service Ready EHLO host 250-Hello host 250-PIPELINING 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-CHUNKING 250-AUTH PLAIN LOGIN 250 SIZE 1048576 AUTH LOGIN 334 VXNlcm5hbWU6 <Snip> 334 UGFzc3dvcmQ6 <Snip> 421 4.0.0 Internal server error Connection closed by foreign host.
To Reproduce Try to log into the yggmail server using AUTH LOGIN. The above is an example transcript.
Expected behavior The login should proceed as in AUTH PLAIN.
Desktop (please complete the following information):
Additional context Here's the stack trace of the panic:
goroutine 57647 [running]: runtime/debug.Stack() /usr/share/go/src/runtime/debug/stack.go:24 +0x65 github.com/emersion/go-smtp.(*Conn).handle.func1() /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/conn.go:102 +0xc5 panic({0x8891a0, 0xbe9040}) /usr/share/go/src/runtime/panic.go:1038 +0x215 github.com/neilalexander/yggmail/internal/smtpserver.(*Backend).Login(0xc0000b0880, 0x0, {0xc0001ef400, 0x0}, {0xc0004e20c0, 0x14}) /home/kappa/go/pkg/mod/github.com/neilalexander/[email protected]/internal/smtpserver/backend.go:58 +0x259 main.main.func1.1.1({0xc0001ef400, 0xc0004e20a8}, {0xc0004e20c0, 0xc0004e20a8}) /home/kappa/go/pkg/mod/github.com/neilalexander/[email protected]/cmd/yggmail/main.go:183 +0x38 github.com/emersion/go-sasl.(*loginServer).Next(0xc0002b43c0, {0xc0004e20a8, 0xffffffffffffffff, 0xc000120320}) /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/login.go:81 +0x135 github.com/emersion/go-smtp.(*Conn).handleAuth(0xc000120320, {0xc000212685, 0xc000212685}) /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/conn.go:549 +0x3d6 github.com/emersion/go-smtp.(*Conn).handle(0xc000120320, {0xc000212680, 0xc000120320}, {0xc000212685, 0x5}) /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/conn.go:151 +0x1bf github.com/emersion/go-smtp.(*Server).handleConn(0xc0000da000, 0xc000120320) /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/server.go:154 +0x1a5 created by github.com/emersion/go-smtp.(*Server).Serve /home/kappa/go/pkg/mod/github.com/emersion/[email protected]/server.go:126 +0x169
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Attempting to log into a yggmail instance with
AUTH LOGIN
causes a panic:To Reproduce
Try to log into the yggmail server using AUTH LOGIN. The above is an example transcript.
Expected behavior
The login should proceed as in AUTH PLAIN.
Desktop (please complete the following information):
Additional context
Here's the stack trace of the panic:
The text was updated successfully, but these errors were encountered: