From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64135 Path: news.gmane.org!not-for-mail From: vedm Newsgroups: gmane.emacs.gnus.general Subject: Re: Expiring spam groups Date: Sat, 23 Dec 2006 11:00:37 -0500 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166889767 18797 80.91.229.10 (23 Dec 2006 16:02:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Dec 2006 16:02:47 +0000 (UTC) Cc: tzz@lifelogs.com Original-X-From: ding-owner+M12658@lists.math.uh.edu Sat Dec 23 17:02:46 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gy9Kb-0004DG-1I for ding-account@gmane.org; Sat, 23 Dec 2006 17:02:41 +0100 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 1Gy9JD-0006fK-OL; Sat, 23 Dec 2006 10:01:15 -0600 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 1Gy9JA-0006ew-G7 for ding@lists.math.uh.edu; Sat, 23 Dec 2006 10:01:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1Gy9J4-0000Fd-1e for ding@lists.math.uh.edu; Sat, 23 Dec 2006 10:01:12 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Gy9J2-0006TV-00 for ; Sat, 23 Dec 2006 17:01:04 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gy9Iq-0000m1-GO for ding@gnus.org; Sat, 23 Dec 2006 17:00:52 +0100 Original-Received: from cpe0040ca4c218d-cm001225704356.cpe.net.cable.rogers.com ([74.100.112.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Dec 2006 17:00:52 +0100 Original-Received: from mlist by cpe0040ca4c218d-cm001225704356.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Dec 2006 17:00:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 68 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpe0040ca4c218d-cm001225704356.cpe.net.cable.rogers.com User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64135 Archived-At: Ted Zlatanov writes: > On 7 Dec 2006, mlist@rogers.com wrote: > >> I have a problem with spam group expiration. My mail is split by >> procmail and all spam goes into a "spam" group. I have this group in the >> spam-junk-mailgroups. >> >> When I go into the "spam" group I see that the newly arrived spam >> messages are marked as spam (the '$' mark). When I exit the group and >> then enter it again I see that those same messages are marked as expired >> (E), so I expect that they would disappear in several days - but instead >> the messages that were marked as "E" after some time are shown with the >> mark "O", and they never disappear.. >> >> What am I doing wrong? (I do not have any group or topic parameters). > > Hi, > > spam.el will just mark the articles as expired when you exit the > group. So the rest of the work is done by Gnus, which has built-in > intelligence regarding article expiry. You need to look in the manual > for that info, it's not too complicated. > > Another possibility is that right now, the spam/ham-process-destination > can be one of these: > > - nil ("leave spam in the group, expired") > - 'respool ("send back to the split method"--this is for ham) > - one or more groups (copy to N-1 groups, move to the last one) > > I could add a 'delete option, which would just delete whatever > articles match, if 'respool or group names are not specified. So you > wouldn't use it for ham-process-destination probably, but it could > make sense for spam-process-destination. Let me know if you need > that, rather than using the normal Gnus expiry process. > > Ted > > p.s. I use the word "expiry" because Gnus uses it a lot. I don't know > if "expiration" is more appropriate, but just keep it in mind if you > do an M-x apropos :) I still do not understand why the expiry mark "E" disappears from the articles in my spam group. I set up my spam group so: (add-to-list 'spam-junk-mailgroups "nnimap+localhost:spam") When I get mail, procmail splits it and puts the spam in a "spam" mbox file which is one of my IMAP folders. (I use the crm114 spam filter and the dovecot IMAP server) Now when I go into the spam group in Gnus (that is the "spam" IMAP folder), all new spam is marked as spam ("$"). When I exit the group and then open it again after a short time, I see that the same articles which were marked as spam are now marked as expired ("E"). But when some more time passes, and I open the spam group a few more times, I see that the "E" mark has disappeared from the older spam articles - so my spam group keeps growing. The Gnus documentation says that expired articles are deleted after some time - but in my spam group expired articles become "unexpired" again, and so far I haven't found out why this happens. -- vedm