hello everybody,
while experimenting with mail.envs.net webmail, i've noticed an issue with how the MIME header key shows up in the Sent folder.
the culprit: From nobody Mon Jan 17 06:28:28 2022
ths sample does not cause issues: From: "akspecs" akspecs@envs.net which both aerc and mutt do correctly, which leads me to believe this is simply due to the missing :
full sample paste with header: https://paste.sr.ht/~akspecs/b3591b138436869dd0a94292b5bff70ce5a66f2f
this casues the aerc terminal mail client to be unable to load many messages in the Sent folder, whether or not their MIME header key is malformed or not. newer versions of aerc do not workaround this issue either.
to reproduce this issue:
1) send an email using webmail (Modoboa) on mail.envs.net 2) try viewing that sent message with aerc
deleting any messages in the Sent folder sent via webmail with the malformed MIME header key and emptying the trash folder via the webmail interface is not enough to actually purge those messages. i was able to purge the messages with mutt, after which aerc loads the Sent folder just fine, as long as other messages with a malformed header key aren't present.
is this an issue with Modoboa / Postfix / Dovecot / other mta configuration? or can i configure something locally / via the webmail interface to workaround this issue to ensure that MIME header keys aren't malformed went sent via webmail?
the following patch was rejected to go-message which attempted to workaround MIME header keys being malformed: https://github.com/emersion/go-message/pull/101
thanks, akspecs