I am writing a Lua script that works with IMAPfilter (http://imapfilter.hellug.gr/), that is able to change the names of MIME attachments
for example:
Content-Type: application/pdf; name="Final Fäntäsy.pdf"
is converted to
Content-Type: application/pdf; name="FinalFantasy.pdf"
Currently, this is done via exporting the mail to the file system and manipulating. My question is, can I manipulate the file directly on the IMAP server via IMAPfilter? I've checked the documentation, but haven't found anything for manipulating files on the server, beyond moving/deleting/etc.