From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William G. Gardella" Newsgroups: gmane.emacs.help Subject: Re: Spam despite spam header Date: Sat, 14 Dec 2013 21:14:59 +0000 Message-ID: <87ppozi17w.fsf@motoko.kusanagi> References: <87ob4nicvs.fsf__27136.734329588$1386778525$gmane$org@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387055742 19612 80.91.229.3 (14 Dec 2013 21:15:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Dec 2013 21:15:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 22:15:47 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VrwYs-0007nW-MP for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 22:15:46 +0100 Original-Received: from localhost ([::1]:48650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrwYs-00041y-7x for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 16:15:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrwYa-00041i-8T for help-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:15:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrwYU-0007fS-7Z for help-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:15:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrwYU-0007fN-0Z for help-gnu-emacs@gnu.org; Sat, 14 Dec 2013 16:15:22 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VrwYP-0007Yq-0p for help-gnu-emacs@gnu.org; Sat, 14 Dec 2013 22:15:17 +0100 Original-Received: from lumumba.torservers.net ([77.247.181.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Dec 2013 22:15:17 +0100 Original-Received: from wgg2 by lumumba.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Dec 2013 22:15:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lumumba.torservers.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:CbKABtBakpNm0kMESHNJiw+k/Ns= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94986 Archived-At: Emanuel Berg writes: > I have for some reason been getting spam lately, even > though the headers contain information it is spam. If > the below metadata indicates it is spam (as I think it > does), how do I tell Gnus *not* to put those messages > in my mail.misc group? > >> X-Spam-Flag: YES >> X-Spam-Score: 5.952 >> X-Spam-Level: ***** >> X-Spam-Status: Yes, score=5.952 tagged_above=-9999 required=5 >> tests=[BAYES_50=0.8, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001, >> MIME_HTML_ONLY=0.723, RCVD_IN_PBL=3.335, UNPARSEABLE_RELAY=0.001] >> autolearn=no If you use `nnmail-split-methods' to split incoming mail, you could add a rule such as '("spam" "^X-Spam-Flag: YES") to send spam to the "spam" group, and make this group auto-expireable. This is a sensible thing to do if you or your mail provider uses a spam filter like SpamAssassin that appends headers like the ones below. Gnus can also be configured to *teach* an external tool like spamassassin in the event it misses something, but that's a bit more complicated (but see, e.g., (info "(gnus) SpamAssassin")). -- Best, WGG