1
1
Fork 0
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:
Mechiel Lukkien 2023-10-24 13:03:50 +02:00
parent 5b4de0523d
commit f9eb18b6a8
No known key found for this signature in database

View file

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