From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72612 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam spltting my sys emails Date: Tue, 05 Oct 2010 08:12:21 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6acn5qi.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286284387 25789 80.91.229.12 (5 Oct 2010 13:13:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2010 13:13:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20984@lists.math.uh.edu Tue Oct 05 15:13:06 2010 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.69) (envelope-from ) id 1P37KI-0000Zh-6H for ding-account@gmane.org; Tue, 05 Oct 2010 15:13:02 +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 1P37Ju-0007RD-CQ; Tue, 05 Oct 2010 08:12:38 -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 1P37Js-0007R1-Tq for ding@lists.math.uh.edu; Tue, 05 Oct 2010 08:12:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P37Jo-0000B7-2e for ding@lists.math.uh.edu; Tue, 05 Oct 2010 08:12:36 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P37Jn-0007C2-00 for ; Tue, 05 Oct 2010 15:12:31 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P37Jl-0000NZ-2o for ding@gnus.org; Tue, 05 Oct 2010 15:12:29 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Oct 2010 15:12:29 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Oct 2010 15:12:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:meWolVWgFWHTosRaoWnu9X/Nx3g= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72612 Archived-At: On Tue, 05 Oct 2010 14:32:29 +0200 Richard Riley wrote: RR> Using this set up RR> (setq nnimap-inbox "INBOX") RR> (setq nnimap-split-methods 'default) RR> (setq nnmail-split-fancy (quote (: spam-split))) RR> (setq nnmail-split-methods (quote nnmail-split-fancy)) Ouch. Are you sure you want spam-split to be the only determinant of where mail goes? I would at least provide a default destination at the end. RR> combined with RR> ,---- RR> | spam-split-group is a variable defined in `spam.el'. RR> | Its value is "Gnus-Spam" RR> | RR> | Documentation: RR> | Group name where incoming spam should be put by `spam-split'. RR> `---- RR> I have a select method for nnml which processes var/spool/mail mbox and RR> usually used to put them in mail.misc group in the nnml-directory RR> (~/Mail). RR> Now its determining that all my sys emails from cron etc are spam and RR> refiling them to spam-split-group, Gnu-Spam. How to stop that? It depends entirely on your spam.el configuration. Some backend has decided those e-mails are spam. You need to either check *Messages* or debug each of your spam backends one by one. RR> My nnml group looks like this after using command line "mail" to send an RR> email from root to myself:- RR> ,---- RR> | Z 1: Gnus-Spam <-- spam splitting created this RR> | 0: mail.misc RR> | 1: sys-mail ;<--- I created this group manually moving a message RR> `---- RR> Where Gnus-Spam has been newly created by the spam-splitting I assume. Yes, the messages will be spooled to the group and it's created if necessary. RR> So how to tell the spam-split assigned to nnmail-split-fancy to ignore RR> the nnml feed? You need to customize your nnimap-split-methods to a function which overrides spam-split-group and nnmail-split-fancy (the variable) and calls nnmail-split-fancy (the function). I posted an example just the other day. Ted