sympa-community / sympa

Sympa, Mailing List Management Software
https://www.sympa.community/sympa
GNU General Public License v2.0
237 stars 94 forks source link

How can I rebuild archives and get attachments with exact extensions? #1838

Open msjang opened 1 month ago

msjang commented 1 month ago

Version

Sympa 6.2.66

Installation method

Ubuntu 22.04 LTS apt install -y sympa

Expected behavior

I uploaded eml files on /var/lib/sympa/arc/mylist@mydomain/YYYY-MM/arctxt/ and I performed Rebuild archives for an individual list. The archive would gives attachments with exact same extensions.

Actual behavior

The archive gives attachments with 'bin' extension only.

sympa-reindex-extensions
ikedas commented 1 month ago

Hi @msjang , I found that, unfortunately, MHonArc has a bug.

Could you please try applying this fix and customizing mhonarc_rc.tt2 as below?

<MIMEARGS>
...
(existing settings)
...
application/hwp+zip; subdir ext=hwpx type="Hanword Document"
application/x-hwp; subdir ext=hwp type="Hanword Document"
</MIMEARGS>