How does notmuch detect the presence of attachments?

Jason Woofenden jason at jasonwoof.com
Mon Aug 29 23:22:29 PDT 2011


> [...]
> 
>  [textconverters]
>  application/pdf=pdf2txt /dev/stdin

Sounds awesome. I'd love the feature, and this sounds like a good
way to do it. Or maybe we should use a mailcap file like mutt
does... it has some useful features like nametemplate and maybe
test.


> Starting with an initially empty set of textconverters seems reasonable
> and safe to me, and people could set up their own if they're interested.

I also think starting empty is the right thing to do. We don't want
to be the bad guys if there's a security exploit in one of the
converter programs.


I as a user can decide that I'd like to run `abiword -t txt` on
application/msword and application/rtf mime parts. If there's a
security issue with abiword that someone can exploit by sending me
an e-mail, then FML, but at least I won't be mad at the notmuch
developers.


     - Jason


More information about the notmuch mailing list