I receive emails with PDF attachments that have the MIME type "text/pdf". This is obviously not good, but some mail clients are doing that...
The problem is that saving such an attachment in Mutt leads to a file on the disk that cannot be opened by a PDF viewer. The file size is indeed different by a few bytes from what it should be.
How can I save such attachments?