From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81746 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Scoring on basee64 encoded message body Date: Thu, 12 Apr 2012 20:45:49 +0200 Message-ID: References: <5n5x2rvcm5zibm.fsf@nb-jtatarik2.xing.hh> <5n5x2r8virwm8j.fsf@nb-jtatarik2.xing.hh> <5n5x2rehrudpuv.fsf@nb-jtatarik2.xing.hh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334256370 16239 80.91.229.3 (12 Apr 2012 18:46:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 18:46:10 +0000 (UTC) Cc: ding@gnus.org To: Jan Tatarik Original-X-From: ding-owner+M30024@lists.math.uh.edu Thu Apr 12 20:46:09 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIP20-0007C9-A0 for ding-account@gmane.org; Thu, 12 Apr 2012 20:46:08 +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 1SIP1r-0002X1-HK; Thu, 12 Apr 2012 13:45:59 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SIP1q-0002Wn-A8 for ding@lists.math.uh.edu; Thu, 12 Apr 2012 13:45:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SIP1p-00007T-FF for ding@lists.math.uh.edu; Thu, 12 Apr 2012 13:45:58 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SIP1o-00031o-14 for ding@gnus.org; Thu, 12 Apr 2012 20:45:56 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SIP1i-0007Kn-3a; Thu, 12 Apr 2012 20:45:50 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEW1s6SysK7CwrPS0tLE xMS6uqOoo5DS0qLIyMbOzs+qqYedkU+3rZrR0b38KR5TAAAAwklEQVQ4jWNITBMUlDBGB4bGDEg8 ZWQpBmcM1VAJHOKkSVjikrCYTL4djWCTmzElZoIlJpNgFIkSOAKLenYY4ZIwxS5h2YxLwtkGQ8IE r1F4JKxwSWDagWLUDJClLcCImgzigaMcomOioKCwoSAwNMEBKgiKSpw+NyQ5rKgoYYtLwhyfBHoy mYzLDmG8RjWR6apmXBJowNAYHB/geEEGlqCcBAx2791AsGD1KlAMWoL8tLrcfDfu+MApYYVUyBih SAAAKrfxhZoG/kQAAAAASUVORK5CYII= X-Now-Playing: Various's _Room 40_: "Ben Frost - Feeding" In-Reply-To: <5n5x2rehrudpuv.fsf@nb-jtatarik2.xing.hh> (Jan Tatarik's message of "Wed, 11 Apr 2012 21:34:48 +0200") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) X-MailScanner-ID: 1SIP1i-0007Kn-3a MailScanner-NULL-Check: 1334861150.28895@Vp/j+xv0BjXaQGBFZamtLg X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81746 Archived-At: Jan Tatarik writes: > All text/* parts, I assume? It's not uncommon to stash texts bits in application/octet-stream parts, too, but I guess limiting this to text/* would be sensible... > I had a quick look at mm handling in gnus. My idea would be to > > - run mm-dissect-buffer on the message body (any idea which args would > be appropriate?) NO-STRICT-MIME, I think. > - for multipart messages, pick the handles with text/* type, run them > through their respective mm-inline-* function as defined in > mm-inline-media-tests > > - score on all the decoded text parts > > Is this the way to go? Yup; sounds good. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/