From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66886 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: how to sort (filter) msg which contain MS word documents Date: Fri, 25 Apr 2008 17:01:16 -0400 Message-ID: References: <87prssepd5.fsf@mat.ucm.es> <87skxbcnqw.fsf@mat.ucm.es> <87prsez07r.fsf@mat.ucm.es> <86k5ilx614.fsf@lifelogs.com> <87hcdpzw6c.fsf@mat.ucm.es> <86ve253h6a.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209157691 20374 80.91.229.12 (25 Apr 2008 21:08:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2008 21:08:11 +0000 (UTC) Cc: Uwe Brauer , ding@gnus.org, Simon Josefsson To: Ted Zlatanov Original-X-From: ding-owner+M15368@lists.math.uh.edu Fri Apr 25 23:08:47 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JpV9a-0005LH-VT for ding-account@gmane.org; Fri, 25 Apr 2008 23:08:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JpV88-00079Z-Tw; Fri, 25 Apr 2008 16:06:52 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JpV86-00079G-VF for ding@lists.math.uh.edu; Fri, 25 Apr 2008 16:06:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JpV80-0006FM-Lu for ding@lists.math.uh.edu; Fri, 25 Apr 2008 16:06:50 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JpV8B-00048q-00 for ; Fri, 25 Apr 2008 23:06:55 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 20960400FF; Fri, 25 Apr 2008 21:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1209157600; bh=7FkzojETLBUrnFJd0QT3rSce/3yKyJM1Sw+p7Eqit nM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=HUcs4twAoGzeN+UH2Ix7t7IBw7RguUePV3HgO nkdI7uGsmRuK8wBVLFvzjOE9P4MtuKjGhRnO8CXibb2OBfmGU3SzArk0RuFViF7G20C DPF/nV3eCzkjeW5G68xnAeeQ8Y8m2JYkHAZa9WvRaxEQKsUikd5y//nimr+cx/iwAHg = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id C76B021C011; Fri, 25 Apr 2008 21:01:39 +0000 (UTC) In-Reply-To: <86ve253h6a.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 25 Apr 2008 13:47:41 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2007 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 X-Hashcash: 1:23:080425:oub@mat.ucm.es::4WuDwPicNo21nsju:0000H97 X-Hashcash: 1:23:080425:tzz@lifelogs.com::rJl3GYLsGLN9Ar2B:0Uq9y X-Hashcash: 1:23:080425:simon@josefsson.org::+8NgYVLvfIzOQDdJ:000000000000000000000000000000000000000000atnP X-Hashcash: 1:23:080425:ding@gnus.org::u72icyEBfbo+p+P6:0001wpi2 Original-Lines: 22 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66886 Archived-At: >>>>> "Ted" == Ted Zlatanov writes: >>> I wonder if IMAP has a way to check quickly if an article has a >>> particular attachment. That would be nice too, just ask the >>> server. The sexp imapd returns on the FETCH BODY which nnimap issues when opening the *Summary* buffer contains all of the MIME data for each FETCHed article. FETCH BODYSTRUCTURE is similar and may provide more data. I don't see any way of searching for all articles which match a given mime type. You can SEARCH for any string, but there will, of course, be false positives. So I suppose you'd have to SEARCH for the mime type as a string and use FETCH BODY calls to rule out the false positives. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6