mirror of
https://github.com/mjl-/mox.git
synced 2025-04-21 21:40:01 +03:00
for mox localserve, only require being able to parse incoming messages over smtp as parsable with pedantic mode
This commit is contained in:
parent
5b4de0523d
commit
f9eb18b6a8
1 changed files with 1 additions and 1 deletions
|
@ -1579,7 +1579,7 @@ func (c *conn) cmdData(p *parser) {
|
|||
}
|
||||
}
|
||||
|
||||
if Localserve {
|
||||
if Localserve && moxvar.Pedantic {
|
||||
// Require that message can be parsed fully.
|
||||
p, err := message.Parse(c.log, false, dataFile)
|
||||
if err == nil {
|
||||
|
|
Loading…
Reference in a new issue