From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52718 Path: main.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: Spam Management When Using nnimap Date: Fri, 16 May 2003 12:43:38 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <871xyyu9j9.fsf@cag.lcs.mit.edu> References: <76smrgc6of.fsf@newjersey.ppllc.com> <76of23di1o.fsf@newjersey.ppllc.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053103561 24765 80.91.224.249 (16 May 2003 16:46:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 16:46:01 +0000 (UTC) Original-X-From: ding-owner+M1263@lists.math.uh.edu Fri May 16 18:45:59 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GiHu-0006BW-00 for ; Fri, 16 May 2003 18:42:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19GiJV-00012O-00; Fri, 16 May 2003 11:44:09 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19GiJQ-00012J-00 for ding@lists.math.uh.edu; Fri, 16 May 2003 11:44:04 -0500 Original-Received: (qmail 42926 invoked by alias); 16 May 2003 16:44:04 -0000 Original-Received: (qmail 42918 invoked from network); 16 May 2003 16:43:59 -0000 Original-Received: from fort-point-station.mit.edu (18.7.7.76) by sclp3.sclp.com with SMTP; 16 May 2003 16:43:59 -0000 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by fort-point-station.mit.edu (8.12.4/8.9.2) with ESMTP id h4GGhtxL010547 for ; Fri, 16 May 2003 12:43:55 -0400 (EDT) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.12.4/8.9.2) with ESMTP id h4GGhdun008390; Fri, 16 May 2003 12:43:54 -0400 (EDT) Original-Received: from arborway (24-6-154.wireless.lcs.mit.edu [18.24.6.154]) ) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id h4GGhcU8008757; Fri, 16 May 2003 12:43:39 -0400 (EDT) Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUGBgS83KhoOivUeFmC pXj4o39qeFZD1JPmAAACOklEQVR4nE2UQY/bIBCFkVPlbpX0bA2tz7sQcl5SlnsWc7cclv// E/oGjNNxokjz8eYxA7HwR9xLKQGRC4eQezqUj7KWnDOzAOB3EjaBKDl4KPARzkvpAIqoUTwI a2op6WVoeXHOlfgsnJPM1kl0SdMIFEJ0AaIJshiRhkCsHbC/51LycKDmgiw2jVJy9B9IDPNN U5NkSMQoR+c5/zTW3qjZgwg5ylpJ2YT4wubO7FEVEs0NhvPJaqzxDaDS2gUpGUjyDkau9NxB fKsmu4Ir2XSpwAjxYwfsfeqlbJwqcAwwcLINxGRWtIhhMEB7ZLoAJudd4aE42e4RCQDjYMXK CpS6XOBtNM7EVfPAbRgihfU08Sg9jqIr9G9JJuo70cCty66gwY6kzJ9xIygyJs7mDNQcSEUV iPSE1qt5mLgUkcGj8ExTbrvii2CwG3UCQkxUXDUPE03KIqPw8Iq33IBfUcbw/Ez9eeo8VvPr qrRNj2RU1DjeaN6cG8c6RKVNnTg+GIDWfAkPBVdK2jC84fCq4n4yik+VNICNtoPlPkScrKmh bPw+FIGSYmBrOUPeNfATjajPpFXtMl0Hvyt4imfzqDvC9zZ3cAEYvlt/ADq7rvDbNKj3RuxC B7gsZRWzbSAaymNXSPxjia8id1GmV6kUyjDMf9vd3daXAiYFd4GvXNzmaT7AspRyJnoif6Nn Ob8UC94fN6KybTSbvB0e46d3Tyzm+I7v4QWW5WGswZulXFNyv/4DGFvqYRv4BxSm28ZwQ4mv AAAAAElFTkSuQmCC X-Face: &OO..E]'&$Q?jm[7H$]lCS"t#FD[|jK.HfvP#![KZ`/,O)lQ(pE<2QS1i~K3+u\{Bh"(4h4G0W#R-F2zZNO6n\!8bk;tu%)f>y{C` P*^7yM`e/x"b1q[?^-9zxTp In-Reply-To: <76of23di1o.fsf@newjersey.ppllc.com> (Jake Colman's message of "Thu, 15 May 2003 17:19:31 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52718 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52718 Jake Colman writes: >>>>>> "CG" == Chris Green writes: > > CG> http://lifelogs.com/spam/spam.html seems to be the best tutorial for > CG> this. > > But where is the determination of what constitutes a spam email? Unless I > missed something, there is nothing in that tutorial that shows me how/what to > use as hook in gnus so that messages are automatically clasified as spam or > ham. Those are the various spam-use-* flags. If you wanted to add your own classifier, you'd need to add it to spam-list-of-checks. The check functions appear to be called with no parameters with the current buffer narrowed to the headers of the article in question, and return t if the article is ham, spam-split-group (or another group name) if the article is spam, and nil for undecided. -- David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell