2016-05-11 Mmh is able to display attachments if one configures handlers for those MIME types. For instance, I use to-text converters for PDF, DOC and HTML: mhshow-show-text/html: %l w3m -dump -T text/html %f mhshow-show-application/pdf: %l pdftotext -layout %f - mhshow-show-application/msword: %l antiword %f Now, I received a message with a PDF attachment (sent from MacOS X). Surprisingly not the to-text-converted contents were dis- placed but the PDF source code: %PDF-1.4 %äüöß 2 0 obj <> stream x\234\265[K\217\3436^L\276\347W\370\274@R\353a\331^F^B^CNfR\240\267m ^G\350\241\350\251\335-Pt^Kt/\373\367+\211\224D\352\225d\200\305^B ^YǑ-\212\344G~\244\264\343I^L\337^N\377^M\3430ګi\235NrX\2648-\303\327 O\207_?^L\377\302o\366\337\327\277^N\227\267\303,\206yZ\355з?\207^_nb ^Prx\373\374\333y^T\333Q\235G\271^]\305yT\376SoG^]\356L\243^Y\347\315 ^,\356c\335\354\320\335]]6y\206^_\374W\205\203\257\356ˋ^?\376^U.^?^? \373\351\360\372v\370\230I\243&m\345\235U^TH^R\201V\373\244\264\357TN ^V;\317\344^\345\344p\222\242b\261S[1\374\274\356\326\325\317\372\202 \237\375i\245>\231|\332W\377\344\315}\212\321^?\212t^G\336.$\314\356 \376\254 \211PN\300\335 ... \&... 36 0 obj < /Author /Creator /Producer /CreationDate(D:20160505130643+02'00')>> endobj xref 0 37 0000000000 65535 f 0000045490 00000 n 0000000019 00000 n 0000002722 00000 n 0000045634 00000 n 0000002743 00000 n 0000004245 00000 n ... 0000046509 00000 n 0000046652 00000 n trailer < <6C40DFFFD2A850A5433BD06D70FD950D> ] /DocChecksum /543C61507C2F79A201BCDE859793C6CB >> startxref 46978 %%EOF (Interesting is the second line, comment with Umlauts. Maybe a debugging help for encoding problems?) The reason why the attachment was not automatically converted to plain text, was the MIME type the MacOS X mail client used for the attachment: Content-Type: text/x-csrc; name="foo.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="foo.pdf" The MIME type should have been ``application/pdf'' but it was ``text/x-csrc'' -- i.e. source code in the C programming language. I have no clue how this happened, as there is no rea- son for this choice. http://marmaro.de/lue/ markus schnalke