ProtonMail / gluon

An IMAP server library written in Go
MIT License
455 stars 27 forks source link

fix(GODT-2573): Remove Prelude header parsing support #336

Closed LBeernaertProton closed 1 year ago

LBeernaertProton commented 1 year ago

The handling of Preludes in the headers stem from the MBox format. According to the IMAP spec, the literal submitted to APPEND should be a valid RFC822 formatted message.

The handling of the prelude was also causing issues where an MBox formatted entry would slip through and then cause issues later.