mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 03:26:37 +03:00
imapserver: When trying to replace a message in a non-existent mailbox, do still consume the message if it is a non-synchronized literal
Not likely to happen in the wild.
This commit is contained in:
@ -77,7 +77,7 @@ func (c *conn) cmdxReplace(isUID bool, tag, cmd string, p *parser) {
|
||||
return func() { xserverErrorf("finding mailbox: %v", err) }
|
||||
}
|
||||
if mb == nil {
|
||||
xusercodeErrorf("TRYCREATE", "%w", store.ErrUnknownMailbox)
|
||||
return func() { xusercodeErrorf("TRYCREATE", "%w", store.ErrUnknownMailbox) }
|
||||
}
|
||||
|
||||
// Resolve "*" for UID or message sequence.
|
||||
|
Reference in New Issue
Block a user