From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72621 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: spam spltting my sys emails Date: Tue, 05 Oct 2010 15:38:41 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87y6acn5qi.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286285940 852 80.91.229.12 (5 Oct 2010 13:39:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2010 13:39:00 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M20993@lists.math.uh.edu Tue Oct 05 15:38:57 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 1P37jM-0000Qm-E3 for ding-account@gmane.org; Tue, 05 Oct 2010 15:38:56 +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 1P37jK-0007rG-2P; Tue, 05 Oct 2010 08:38:54 -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 1P37jI-0007qz-L3 for ding@lists.math.uh.edu; Tue, 05 Oct 2010 08:38:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P37jH-0000aH-Az for ding@lists.math.uh.edu; Tue, 05 Oct 2010 08:38:52 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P37jC-0007VH-00 for ; Tue, 05 Oct 2010 15:38:46 +0200 Original-Received: by eyd10 with SMTP id 10so3512080eyd.17 for ; Tue, 05 Oct 2010 06:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=3SAEx/V2Z1mQ2uxcCzkXkOjEgztJPwrHSU8aT0mWVAs=; b=srr3Eru6RyvYmISo/UPb0Trgrxy8YUNw4UkjIkdzFemee5t2J6RAyKygjGrW2t2m9R J1i2T2pAmhzj3MtBYCOkaaHKsVXq7yclQYjG+cCzHNFe+AUb5jqVRLoWnTu45YGi3yoH BxIpCekcKGMu+S2P8UBI5TW1E2pt8iOmL1wn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=iSaliwBBYJod3EZ/2kOvhTK6VKVBlkqROyAFa9Cu9frD4wiQ376OP8yJ5x0aF/ZBrX JgVmJu2fkWxUMoem63DF2cucM92vcyif3NAjUrW4DxgB3rgljzG8BbcWmMejvx8YryDs srRlP6cwspbIh/IPHE/NDYpEuQgvlRh06PZsg= Original-Received: by 10.14.47.79 with SMTP id s55mr7225790eeb.9.1286285924983; Tue, 05 Oct 2010 06:38:44 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id a48sm9337230eei.19.2010.10.05.06.38.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Oct 2010 06:38:43 -0700 (PDT) In-Reply-To: <87y6acn5qi.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 05 Oct 2010 08:12:21 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72621 Archived-At: Ted Zlatanov writes: > 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. I'm not sure I follow you. nnml has a default destination : nnml-directory. > > 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. I have one. spam-use-bogofilter. > > 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. Yes. But I dont want this group processed for Spam since it would be a major hurdle to tell spam-split these are not spam. Or? > > 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 Or I guess, simply dont set the globals and pass the spam processing values as part of the select method for the nnimap selects only (these are the only ones I want to spam split).