Mark Sapiro a écrit le 15/06/2020 à 21:58 :
On 6/15/20 12:37 PM, Gilles Filippini wrote:
There are 4 emails stored into this folder. 3 of them are spam, and the last one is a legitimate email. This is annoying that such emails could accumulate and stay into var/archives/hyperkitty/spool/ forever, causing more and more hyperkitty errors.
Any idea how to make their processing more error proof?
Change the offending .encode() method to add errors='replace'.
The traceback from the error should tell you where it is.
You could also open an issue at <https://gitlab.com/mailman/hyperkitty/-/issues> for us to look at. If you do that, please include an error traceback if possible. If there is not a traceback in mailman.log associated with the error, there might be one in HyperKitty's log (configured in Django's settings). Also, including enough of a message to duplicate the issue is very helpful.
I've now deleted the offending messages. Will open an issue with related details the next time this error occurs.
Thanks a lot,
_g.