mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 16:03:48 +03:00
add workaround for windows mail authentication in smtpserver
This commit is contained in:
parent
8640fd8cff
commit
96774de8d6
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue