From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 382460755968 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,4548cb879c14d915 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.194.134.193 with SMTP id pm1mr192987wjb.4.1416300831470; Tue, 18 Nov 2014 00:53:51 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.152.2.7 with SMTP id 7ls718096laq.88.gmail; Tue, 18 Nov 2014 00:53:50 -0800 (PST) X-Received: by 10.152.43.202 with SMTP id y10mr317700lal.5.1416300830863; Tue, 18 Nov 2014 00:53:50 -0800 (PST) Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com. [209.85.212.173]) by gmr-mx.google.com with ESMTPS id l4si766410wif.2.2014.11.18.00.53.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Nov 2014 00:53:50 -0800 (PST) Received-SPF: none (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) client-ip=209.85.212.173; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) smtp.mail=eg@gaute.vetsj.com Received: by mail-wi0-f173.google.com with SMTP id r20so1019312wiv.12 for ; Tue, 18 Nov 2014 00:53:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:references:in-reply-to :user-agent:message-id:mime-version:content-type :content-transfer-encoding; bh=UBUDsMnVvztYI9TV00P8zwDBkR+4xI1Z/68M1Xkcl4M=; b=IekQ42lFG9g8jFEar64x7xxKlfBU/dauvhfZPfGyuH/F7wqz/5NE+OkMLPp4WHjpFG IrMx5Nv3A5Kmj/pyQvAvoNhv7muYiTSBiLvL1fTBc/g8pSghwWg2USyiZo8Lv+tm31T4 NxzviM35DlCoHrwPSz3xv/jDTH5dTJSMH0b9DWdNRjzbDqVwWWaAcK7nzX2jz/hRNM9p 0922UOcK7dvsbFQaEQ1yprZHTZ9zn9sBY+jLXCastDKgwwR3Tscjp8AEKzl2lqc7TMGd J0O3lri6fC4Mb0zhG/7TXwLE4oW5dQUTMD3qum2kpohiPelQE9dgp1WvS9j5hW7WWD0y o8Rg== X-Gm-Message-State: ALoCoQmR4p7Pk+NwO5ep7v3HHuTZRqQBQWy/TCi8CMt2aidyr6xBaf7h4v+zMUfmzDwGOcsUIYzK X-Received: by 10.180.11.8 with SMTP id m8mr1947185wib.11.1416300830195; Tue, 18 Nov 2014 00:53:50 -0800 (PST) Return-Path: Received: from localhost (216.89-20-249.enivest.net. [89.20.249.216]) by mx.google.com with ESMTPSA id u13sm18617387wiv.10.2014.11.18.00.53.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 00:53:49 -0800 (PST) Date: Tue, 18 Nov 2014 08:53:59 +0000 From: Gaute Hope Subject: Re: [sup] Header search? To: supmua , Mike Cooper References: <1416288595-sup-517@carbon> In-Reply-To: <1416288595-sup-517@carbon> User-Agent: astroid/v18cf4a3b (https://github.com/gauteh/astroid) Message-Id: <1416300167-astroid-0-oirmthc8of-1578@strange> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Excerpts from Mike Cooper's message of November 18, 2014 6:33: > Is it possible to search (using backslash) on arbitrary headers? For > example, I'd like to have a saved search based on a header called > X-Bugzilla-Product. I doubt that would be indexed by any indexer that > only picks up certain fields. >=20 > I could achieve this with a hook that adds labels to incoming messages, > but it doesn't help all the old emails I have. I can't find a way to > re-run a hook on messages already in my index. The headers are not indexed as far as I know. You could try your label approach, to run through all existing messages (or a query) you could either check out the sup console (press ~), do a query, check if the message header matches your criteria, then add label (can also be done from the devel/console [1]). Or I think it should be possible to backup labels [2], delete index, reindex and restore labels - check out sup-dump, sup-import-dump, sup-sync. - gaute [1] https://github.com/sup-heliotrope/sup/issues/272#issuecomment-38586228 or https://github.com/sup-heliotrope/sup/issues/225#issuecomment-347316= 24 [2] https://github.com/sup-heliotrope/sup/wiki/Backing-up-the-index =