a5737f81 | 11-Jul-2020 |
Daniel Fojt <df@neosystem.org> |
libexec/dma: split body of mails not respecting RFC5322
When receiving mails with body not respecting RFC5322 [1] (may happen with automatically generated mails, for example from cron(8)), try to sp
libexec/dma: split body of mails not respecting RFC5322
When receiving mails with body not respecting RFC5322 [1] (may happen with automatically generated mails, for example from cron(8)), try to split by words finding the last space before 1000's character. If this fails, then simply refuse to further receive and process such input.
Taken from: FreeBSD (revision 326641) Discussed with: Sascha Wildner
[1] https://tools.ietf.org/html/rfc5322#section-2.1.1
show more ...
|