add workaround for windows mail authentication in smtpserver

This commit is contained in:
Mechiel Lukkien 2023-10-13 21:35:03 +02:00
parent 8640fd8cff
commit 96774de8d6
No known key found for this signature in database

View file

@ -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