From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2915 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: spam.el/spam-stat checks in non-mail groups Date: Fri, 22 Aug 2003 06:31:48 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Message-ID: <4nada2j84r.fsf@lockgroove.bwh.harvard.edu> References: <87ekzealuw.fsf@everett.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669182 16804 80.91.229.2 (31 Jan 2006 00:59:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:59:42 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:25 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news01.chello.no!amsnews01.chello.com!news2.euro.net!newshub1.home.nl!home.nl!news2.telebyte.nl!bloom-beacon.mit.edu!news.bu.edu!purdue!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: lockgroove.bwh.harvard.edu Original-X-Trace: plato.harvard.edu 1061548308 26804 134.174.9.133 (22 Aug 2003 10:31:48 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Fri, 22 Aug 2003 10:31:48 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:Nxa57NYuSq0VEcuIpcpApf4IlUU= X-Received-Date: Fri, 22 Aug 2003 12:36:19 MET DST (news01.chello.no) Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3056 Original-Lines: 32 X-Gnus-Article-Number: 3056 Tue Jan 17 17:31:25 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2915 Archived-At: On Thu, 21 Aug 2003, dmaze@mit.edu wrote: > I have spam.el happily set up to use spam-stat for all of my > incoming mail. This works great, but I have groups that aren't mail > groups. In particular, I have a couple of groups that are read-only > archives of mailing lists[1], so these also get a fair bit of spam. > Is there a way to run the spam.el checks on messages in non-news > groups, and automatically give spam messages '$' marks if they need > it? Well these are two different things. You can make a newsgroup a spam group, so unread or unseen messages will get the spam-mark. Just make sure spam-process-destination is nil because you can't move messages of course. You can't currently do spam checks on unseen messages in a newsgroup. It should be possible though, by running spam-split on every unseen message at summary entry and checking if the output is equal to spam-split-group (remember that the ifile backend, for instance, will output a valid group name for non-spam so you can't just check for a string). It's pretty simple to do this. Maybe in such groups the spam-process-destination should be automatically ignored but all other spam functionality should be available. I don't think there's a way to automatically find out if a group is not a mail group, is there? What do you think? Ted