From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2E6B96DE12E4 for ; Mon, 10 Apr 2017 02:47:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.689 X-Spam-Level: X-Spam-Status: No, score=0.689 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, 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 pGT5mogzAjee for ; Mon, 10 Apr 2017 02:47:33 -0700 (PDT) Received: from mail-yb0-f176.google.com (mail-yb0-f176.google.com [209.85.213.176]) by arlo.cworth.org (Postfix) with ESMTPS id 4FA4F6DE12DE for ; Mon, 10 Apr 2017 02:47:33 -0700 (PDT) Received: by mail-yb0-f176.google.com with SMTP id m133so33363670ybb.1 for ; Mon, 10 Apr 2017 02:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+ZUEbTV/kaMuS40VREp7t3FrWI03mHJWjljdPB/ILxs=; b=d+crlzBvCtW2wPfDn7EsOkOlJmOeCSy6KNL0Z2BZM9cqFvWv/jsgV44TlxjLFjdnxo oMbjEHlfGj8byo7Yo8Yb2FIkTR/s5dgkitB4H56D4ht6avIyi6Jsrw5jsEY7piYDlYXX oF7BLpQBPxy9ZuCSwBGrre8TByx8B9jzUmisoqM9dt5M+VhjdErfknmhE46CWtiZyOG2 KbGririEYas950kXPCrdNkL2RzwerQLjzgw7CMeXCluJjHtboIYRAz3nZ4PUlq1udAkH SPNdz5fIG0yk8STCSDJf1E8evYy8CT5LwilqkZftfPNh+cTNjdJ3DcuwmwWQTs4dcmHq ycLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+ZUEbTV/kaMuS40VREp7t3FrWI03mHJWjljdPB/ILxs=; b=HSr5WdBAfcTctALffnltrexBN9gG/Nj9UA77gK5L9xmbc+4390wFxpg8rKG+JKprke KfFRXsaSmHTyTuuekdHk1vDpW90QLFmeItnbdgWjlIi3gZlhnMaPtC5teCUXAA3d1SIK 7UdOzCVHxt2R4JXSmHU/FFMDoB7as5pwwx/Xx++E/0+ifUiw2XszutPYCq5kXfHX44uy xF+5Zsb4v1ScmIrzxViW2AlQDbGy7IRtgKRQO8xcYqpAhYce+aeqKoIq31hyVT3xjmEH E9KqQ+NAuY7Xzv1eYSTAGcQ+rlaQnZ/MoYZF4Pg5Mkb5g4a/GYBAGErAlHVMcmMB6w7Y ZLdw== X-Gm-Message-State: AFeK/H25bC6vl7c9Q86XRbi9s94r1lqVfoiQG+FAvlTEEFYV1+ZqgnH0RJreGfo4ekiUu0R3D52Oxox4cI3CgA== X-Received: by 10.37.194.5 with SMTP id s5mr32480655ybf.136.1491817652135; Mon, 10 Apr 2017 02:47:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.206.78 with HTTP; Mon, 10 Apr 2017 02:47:31 -0700 (PDT) From: Laur Aliste Date: Mon, 10 Apr 2017 11:47:31 +0200 Message-ID: Subject: How to search for all mail in the trash folder To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Mon, 10 Apr 2017 09:47:34 -0000 Hi all, I'm having trouble searching for mail in the trash directory. Only some mail appears to be returned by notmuch search. Tried also rebuilding notmuch index, after which no mail were found. Searching other dirs works as expected - all the mail is returned. Note the mail in trash hasn't been tagged with 'deleted' nor 'spam', but just in case tried explicitly searching for those tags as well. query: notmuch search folder:work/Trash '*' notmuch-config: [database] path=/home/laur/mail [user] name=laur primary_email=laur@gmail.com [new] tags=new;cal; ignore=Trash;trash;junk;Junk;Spam;spam; [search] exclude_tags=deleted;spam; [maildir] synchronize_flags=true Thanks, Laur