From: Mark Walters Date: Tue, 10 May 2016 07:37:06 +0000 (+0100) Subject: Re: Search for "has an attachment" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=643516534448ce1573ae78bd2646963a63818c97;p=notmuch-archives.git Re: Search for "has an attachment" --- diff --git a/13/9c1f9e8a24df63c79ec5c783785e2fe53baf49 b/13/9c1f9e8a24df63c79ec5c783785e2fe53baf49 new file mode 100644 index 000000000..6b9ac4c42 --- /dev/null +++ b/13/9c1f9e8a24df63c79ec5c783785e2fe53baf49 @@ -0,0 +1,101 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id EB15D6DE0173 + for ; Tue, 10 May 2016 00:37:18 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.308 +X-Spam-Level: +X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.262, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id v6pXEJ-yZzY7 for ; + Tue, 10 May 2016 00:37:09 -0700 (PDT) +Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com + [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id 8C5EC6DE00DB for + ; Tue, 10 May 2016 00:37:09 -0700 (PDT) +Received: by mail-wm0-f51.google.com with SMTP id n129so165999847wmn.1 + for ; Tue, 10 May 2016 00:37:09 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version; bh=JfuXIDVB6k3O0mNaBRe8aSj3hBuWqMlmFDNd+zDDr/Y=; + b=uRNBJY+JaoYkd49IJ/YJgYyBORNzAMZrGohgahxCLn14OzZ4FXHWEB9lZ9vCHxv2HD + rLwMeePYezi7G4aza3W2cykQVj3EyTSpHbYPKbIJQK9jkubcoHRjM1bfPj14wHp8Okpx + 831FZ3/AF8ujaAgpPOqnvolU8nOXW17yRAGFt2B0kuZ2xgsjDVA7Jci743Oax+7Sln5+ + lb2q2XZpwvZgNxCIzbKGoUENK3GspE7QzI2AEgC5Nd+6RLMjUXqXAG3hk3886n7qyflt + 6fI5Nq9Wp2ZiIyIlRDZUoAp/3/MNZSxs2v2kz5tTPZTQj1EhwxRjyGORyAE1VjRf6K38 + xiVg== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:in-reply-to:references + :user-agent:date:message-id:mime-version; + bh=JfuXIDVB6k3O0mNaBRe8aSj3hBuWqMlmFDNd+zDDr/Y=; + b=l2r7pNyZP27G2b/zZ1w0lQrcI82iC+jVOEcrcViHU8+2ClyDUlqxk7SFoRrwIM2Guj + 4d8xPlLROzeCrh7n5Y/HXDKyvsoVHOmxkHgf7+z0jLK4hpQTds6kql6Ox7lCr0LAu44O + iLXsrr/eB1JVaD+i/8n8bz7qFCVHQK7O8KbU33axD0kPpcwGc/8onBxWxqbIl2huVuse + DLG5tBKHAkTOhnsnCkX8TFM3SIrXXpyH4eU/mdIb4nk191QhS2UVnTbqt5iCyunex+Te + 11ycv1hR77AF+mZ0MQUDBnyFMneluF9VV3bjyCYHzZjolVaCHinDy1sEr/RFLaqLIVv+ + cN6A== +X-Gm-Message-State: + AOPr4FW6Cw2wBTlTiheCCFdjBLa4C8YQabYt1ydmOqBkCzF4LK0RrdUxFk8rPj1kvDazow== +X-Received: by 10.28.97.213 with SMTP id v204mr15810360wmb.50.1462865827589; + Tue, 10 May 2016 00:37:07 -0700 (PDT) +Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) + by smtp.gmail.com with ESMTPSA id g132sm1421653wme.0.2016.05.10.00.37.06 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Tue, 10 May 2016 00:37:07 -0700 (PDT) +From: Mark Walters +To: Xu Wang , notmuch@notmuchmail.org +Subject: Re: Search for "has an attachment" +In-Reply-To: + +References: + +User-Agent: Notmuch/0.22~rc1+2~g56141bf (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Tue, 10 May 2016 08:37:06 +0100 +Message-ID: <87eg9a4b4t.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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, 10 May 2016 07:37:19 -0000 + + +Hi + +On Tue, 10 May 2016, Xu Wang wrote: +> Hi, +> +> I would like to search for messages from Jiang that have an attachment. I tried +> +> from:Jiang attachment: +> from:Jiang attachment:* +> from:Jiang attachment:.* +> +> and none seems to do what I want. +> +> Perhaps the problem is that I want to search for "real' attachments +> (e.g. not the multipart email things that are really the message). + +Does from:Jiang and tag:attachment do what you want? + +Best wishes + +Mark