Skip to content

Commit

Permalink
add workaround for windows mail authentication in smtpserver
Browse files Browse the repository at this point in the history
  • Loading branch information
mjl- committed Oct 13, 2023
1 parent 8640fd8 commit 96774de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions smtpserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,12 @@ func (c *conn) cmdAuth(p *parser) {
}
} else {
p.xspace()
if !moxvar.Pedantic {
// Windows Mail 16005.14326.21606.0 sends two spaces between "AUTH PLAIN" and the
// base64 data.
for p.space() {
}
}
auth = p.remainder()
if auth == "" {
// ../rfc/4954:235
Expand Down

0 comments on commit 96774de

Please sign in to comment.