--- /dev/null
+Return-Path: <damien.cassou@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 207B4431FB6\r
+ for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 01:57:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.7\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.7 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id oC22tGkoObjc for <notmuch@notmuchmail.org>;\r
+ Sat, 29 Sep 2012 01:57:43 -0700 (PDT)\r
+Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com\r
+ [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 67A17431FAE\r
+ for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 01:57:43 -0700 (PDT)\r
+Received: by bkcjg15 with SMTP id jg15so4124643bkc.26\r
+ for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 01:57:40 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:from:date:message-id:subject:to:content-type;\r
+ bh=EiDZmWMGgAiL2CYPOUzBIOy4tugdIjcuUfNRwI3x09k=;\r
+ b=YaYNLL9VKTRMzcobpKjyeaMgQDmJ47/S9Hv6zm3aYGbp9ExM1x9kYiLlB6fufMvNmf\r
+ O3eOogMV+N7TeyrwiyuS1XwW+hgyvUUaR08QDbyYZnvT8EDlh3D7O2geXNryS+ZlNUdv\r
+ bg7+cGDdjwFbgGFQQiPaX/Pm71l4CH2/XrMHS53GcTXzFsD0+p3C4I27DDuRLqR4UxeI\r
+ jn4z6JMu7Yi585DY+VzbYhpKnED4mnLr/HKuxtGdK8euRnmf9EexAcAYck2ZSUuQkfgZ\r
+ OLy0uEz5lfo8fwbQXufbp/VR6TZu81NcCMx6p7ltxBb9s3bW/KCyX9p4cHWfvMnfCYu/\r
+ fsRg==\r
+Received: by 10.204.147.139 with SMTP id l11mr4624819bkv.100.1348909060449;\r
+ Sat, 29 Sep 2012 01:57:40 -0700 (PDT)\r
+MIME-Version: 1.0\r
+Received: by 10.204.40.78 with HTTP; Sat, 29 Sep 2012 01:57:20 -0700 (PDT)\r
+From: Damien Cassou <damien.cassou@gmail.com>\r
+Date: Sat, 29 Sep 2012 10:57:20 +0200\r
+Message-ID:\r
+ <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>\r
+Subject: Searching from a folder\r
+To: notmuch@notmuchmail.org\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 29 Sep 2012 08:57:45 -0000\r
+\r
+Hi,\r
+\r
+I can't make notmuch search return the list of mails in [Gmail]\r
+folders for a particular mailbox:\r
+\r
+~ $ notmuch search folder:"[Gmail].All Mail"\r
+~ $ notmuch search folder:[Gmail].Important\r
+\r
+but these folders actually contain emails. This works well for another\r
+gmail mailbox I have. You can reproduce by using the following\r
+configuration files (yes, the password is here, that's just a test\r
+account, don't worry):\r
+\r
+===================\r
+~/.offlineimaprc\r
+===================\r
+\r
+[Account GmailTest]\r
+localrepository = LocalGmailTest\r
+remoterepository = RemoteGmailTest\r
+\r
+[Repository LocalGmailTest]\r
+type = Maildir\r
+localfolders = /home/XXXXXXXXXXXXXX/Mail/GmailTest\r
+\r
+[Repository RemoteGmailTest]\r
+type = IMAP\r
+remotehost = imap.gmail.com\r
+remoteuser = damien.test.cassou@gmail.com\r
+remotepass = babebibob\r
+ssl = yes\r
+cert_fingerprint = f3043dd689a2e7dddfbef82703a6c65ea9b634c1\r
+maxconnections = 1\r
+realdelete = no\r
+\r
+===================\r
+~/.notmuch-config\r
+===================\r
+[database]\r
+path=/home/XXXXXXXXXXXXXXXXXXXX/Mail/GmailTest\r
+\r
+[user]\r
+name=Damien Cassou\r
+primary_email=damien.test.cassou@gmail.com\r
+other_email=#xxxxxx\r
+\r
+[new]\r
+tags=\r
+\r
+[search]\r
+exclude_tags=deleted;spam;\r
+\r
+[maildir]\r
+synchronize_flags=true\r
+\r
+\r
+-- \r
+Damien Cassou\r
+http://damiencassou.seasidehosting.st\r
+\r
+"Lambdas are relegated to relative obscurity until Java makes them\r
+popular by not having them." James Iry\r