On Wed, 2021-03-03 at 08:29 -0800, Mark Sapiro wrote:
- Am I correct in assuming that I can just use my favorite editor (vi) to remove the offending characters from the file?
No. The file is a Python pickle and you can't edit it. You would need to get the message and the metadata from the pickle (you could at least view it with the
mailman qfile
command), edit the message and then re-pickle the message and metadata.
And, in my impatience, I tried it before receiving your response and now I seem to have done silliness in my database :( New error in mailman-web.log:
AttributeError: 'NoneType' object has no attribute 'subject'
Sigh. Stupid me. If you have suggestions on fixing that...
Right now, my plan is simply to remove the first message in the queue (since I assume it'll be the "broken" one) and it'll just not be in the archive. Life's hard. Even if I unpack 'em to edit, I'll find mail in, for example, in base64, and I'm not going to fix the mail by decoding, editing, re-encoding, ... Nope.
- Can I do something to make hyperkitty go through the spool?
I don't know what you mean.
Sorry I wasn't clear. I simply meant, "Is there a way to start hyperkitty going through the spool manually?" It sounds like, though, that I don't need to do that if it's going to happen that often anyway.
Cheers,
David