From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3433 Path: news.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus and SpamAssassin Date: Tue, 27 Jan 2004 18:50:42 -0600 Message-ID: References: <87y8rv2r88.fsf@uhoreg.ca> <871xpmbre5.fsf@uhoreg.ca> <87oesq9v0i.fsf@uhoreg.ca> <87k73d896z.fsf@uhoreg.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669553 18969 80.91.229.2 (31 Jan 2006 01:05:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:05:53 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:13 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!gemini.bitstream.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:CJlqTgJ/iUSzQ3haFvYMTKawwGk= Original-NNTP-Posting-Host: fb300654.news.bitstream.net Original-X-Trace: 1075251043 gemini.bitstream.net 431 216.243.177.155 Original-X-Complaints-To: abuse@bitstream.net Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3574 Original-Lines: 37 X-Gnus-Article-Number: 3574 Tue Jan 17 17:32:13 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3433 Archived-At: This was written to my .gnus on starting Gnus the first time after changing the spam-filter code: X-Mail-Format-Warning: Bad RFC2822 header formatting in (setq gnus-select-method '(nntp "news.bitstream.net")) X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Stella-Blue.local X-Spam-Status: No, hits=2.9 required=7.5 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.63 Any idea what that was about? And why did it write to .gnus? http://www.faqs.org/rfcs/rfc2822.html wasn't all that helpful. I've never seen anything like this before. The only changes to .gnus have been the spam code we've been talking about. The current code is: ;;Use spamc to process articles for spam filtering (setq spam-filter-script "/usr/bin/spamc") (setq nnmail-split-methods 'nnmail-split-fancy) (defun sa-on-message () ;;Use SpamAssassin to split spam from ham (widen) (call-process-region (point-min) (point-max) spam-filter-script t t nil) (goto-char (point-min)) (when (re-search-forward "^X-Spam-Status: yes$" nil t) "spam")) (setq nnmail-split-fancy '(| ("to" "internet-bob@bikelist\\.org" "iBOB") (: sa-on-message) ("to" "timmcn@bitstream\\.net" "Inbox") "mail.misc"))