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 0BBEA431FD0 for ; Wed, 3 Aug 2011 03:07:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.424 X-Spam-Level: * X-Spam-Status: No, score=1.424 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=2.223, FREEMAIL_FROM=0.001, 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 hboMOIjKvIRl for ; Wed, 3 Aug 2011 03:07:13 -0700 (PDT) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A3746431FB6 for ; Wed, 3 Aug 2011 03:07:13 -0700 (PDT) Received: by qyk15 with SMTP id 15so252035qyk.5 for ; Wed, 03 Aug 2011 03:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=KqlMlC5ap0mMBg+vr8KmyyQWyXq+3UoMWrDqK49zTCE=; b=JggYCDx1LVrzEAsx9X2kBkEHNypSBa6yPa87KC5EQ+0RQiURgbtSLbtim1Nu2qhrnI zhrPdibAimn6MhnTc4RLHaALPrAN29Ldu7i6GOUDm0y9Mo8KUV0zq92xQhE1D9ijAXRL DqYSvZHrGEkdpgUUKguPiJMzpSj5hsUDQEoTs= MIME-Version: 1.0 Received: by 10.229.118.69 with SMTP id u5mr4494033qcq.122.1312365688663; Wed, 03 Aug 2011 03:01:28 -0700 (PDT) Received: by 10.229.3.145 with HTTP; Wed, 3 Aug 2011 03:01:28 -0700 (PDT) Message-ID: Subject: How does notmuch detect the presence of attachments? From: moabi2000 To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Wed, 24 Aug 2011 16:29:30 -0700 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: , Date: Wed, 03 Aug 2011 10:07:14 -0000 X-Original-Date: Wed, 3 Aug 2011 11:01:28 +0100 X-List-Received-Date: Wed, 03 Aug 2011 10:07:14 -0000 Hi, Two questions: 1) How does notmuch detect the presence of attachments? I have some messages that have attachments (which I can see and open when reading the message), but for which the 'attachment' flag is not set (and therefore don't show up in a search like "from:myfriend AND attachment:pdf"). How can I try to work out what is going on? 2) Is there an option for notmuch to also index the text of attachments (like recoll does, which also uses xapian)? People tend to save attachments with really useless filenames (report2.pdf...), what I'd like to be able to do is a search like "from:mycolleague AND attachment:pdf AND attachmentcontains:ourproject" Thanks for your help. Notmuch is already very useful! M.