Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B1954429E30 for ; Mon, 29 Aug 2011 23:22:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JonPQDwSPwBa for ; Mon, 29 Aug 2011 23:22:38 -0700 (PDT) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3E1E8429E28 for ; Mon, 29 Aug 2011 23:22:38 -0700 (PDT) Received: by vxh7 with SMTP id 7so2835300vxh.26 for ; Mon, 29 Aug 2011 23:22:35 -0700 (PDT) Received: by 10.52.174.115 with SMTP id br19mr3963139vdc.132.1314685354992; Mon, 29 Aug 2011 23:22:34 -0700 (PDT) Received: from lemote.jasonwoof.com (pool-71-161-83-125.cncdnh.east.myfairpoint.net [71.161.83.125]) by mx.google.com with ESMTPS id l9sm521872vdv.26.2011.08.29.23.22.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 23:22:34 -0700 (PDT) Date: Tue, 30 Aug 2011 02:22:29 -0400 From: Jason Woofenden To: notmuch@notmuchmail.org Subject: Re: How does notmuch detect the presence of attachments? Message-ID: <20110830062229.GC8590@lemote.jasonwoof.com> Mail-Followup-To: notmuch@notmuchmail.org References: <4E565A61.7040600@fifthhorseman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E565A61.7040600@fifthhorseman.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2011 06:22:38 -0000 > [...] > > [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