mirror of
https://github.com/mjl-/mox.git
synced 2025-07-06 19:38:17 +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
@ -1579,7 +1579,7 @@ func (c *conn) cmdData(p *parser) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if Localserve {
|
if Localserve && moxvar.Pedantic {
|
||||||
// Require that message can be parsed fully.
|
// Require that message can be parsed fully.
|
||||||
p, err := message.Parse(c.log, false, dataFile)
|
p, err := message.Parse(c.log, false, dataFile)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user