💾 Archived View for bbs.geminispace.org › u › gemalaya › 18015 captured on 2024-07-09 at 04:59:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-20)
-=-=-=-=-=-=-
Re: "Misfin reference server crashes when mail is sent..."
@flipperzero There's now a page to list/create/subscribe to misfin mailing lists, it's not restricted to admin only now. The link to the mailing lists page is listed on the homepage.
I think that the list of mailing lists on a misfin server should be public.
Jun 19 · 3 weeks ago
💎 istvan [OP] · Jun 19 at 17:12:
Thank you very much for your interest in the issue and quick resolution.
I like what you are doing and want misfin to get some traction, but mail dying on unicode was bit of a deal breaker.
I'm kind of shocked no one encountered it before. Maybe some users assumed everything was fine via the frontend and never drilled down to see what was wrong. I'd have never spotted it if I was not trying to debug missing mail on my server.
@istvan You're welcome, and thanks again, yeah instant deal breaker, if you had not raised the issue it might have gone unnoticed for much longer ... Added support for MH/Maildir a few months ago and the unit tests didn't have any messages that included unicode characters .. my fault.
The frontend should also be internationalized and let you select a language for the interface.
😎 flipperzero · Jun 21 at 06:04:
@gemalaya @istvan jfc omfg my bad for missing this hella late i just seen this now. I updated the server and now the fixes should be live. Everything's back up again. Let me know if there's anything else that pops up, thanks. :D
@flipperzero Nice job. I've internationalized the interface so that people can select the display language for the UI, the french translation is finished, next will be spanish, other languages will require contributions. This will be pushed to master today.
@flipperzero @istvan i18n support added, only french translation for now
The language can be changed in the settings.
😎 flipperzero · Jun 21 at 20:53:
@gemalaya the server is updated to the latest commit now
Misfin reference server crashes when mail is sent containing unicode in the name or body of the message and the recipient is using MailDir or MH. Error ultimately comes from Python itself. The mailbox module is not Unicode safe and leads to a crash: File "/email/generator.py", line 410, in write self._fp.write(s.encode('ascii', 'surrogateescape')) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) Appears it may work if you are using gembox...