Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tim McNamara <timmcn@bitstream.net>
Subject: Re: Gnus and SpamAssassin
Date: Tue, 27 Jan 2004 18:50:42 -0600	[thread overview]
Message-ID: <m2wu7cnbfh.fsf@Stella-Blue.local> (raw)
In-Reply-To: <m2r7xlhyvt.fsf@Stella-Blue.local>

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"))


  parent reply	other threads:[~2004-01-28  0:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-25  2:45 Tim McNamara
     [not found] ` <87y8rv2r88.fsf@uhoreg.ca>
     [not found]   ` <m2y8rukdp9.fsf@Stella-Blue.local>
2004-01-26 15:08     ` Tim McNamara
     [not found]       ` <871xpmbre5.fsf@uhoreg.ca>
     [not found]         ` <m27jzeico5.fsf@Stella-Blue.local>
     [not found]           ` <87oesq9v0i.fsf@uhoreg.ca>
     [not found]             ` <m2wu7e9kj2.fsf@Stella-Blue.local>
2004-01-27 19:48               ` Hubert Chan
     [not found]                 ` <m2r7xlhyvt.fsf@Stella-Blue.local>
2004-01-28  0:50                   ` Tim McNamara [this message]
2004-01-28 17:49                     ` Hubert Chan
     [not found]                     ` <4nznc7yeay.fsf@collins.bwh.harvard.edu>
     [not found]                       ` <m2ptd3345h.fsf@Stella-Blue.local>
     [not found]                         ` <m2r7xjjvvo.fsf@Stella-Blue.local>
2004-01-29  5:09                           ` Tim McNamara
2004-01-29  5:53                             ` Tim McNamara
     [not found]                             ` <87vfmv5hsh.fsf@uhoreg.ca>
2004-01-29 17:50                               ` Ted Zlatanov
2004-01-29 17:53                         ` modifying incoming messages (was: Gnus and SpamAssassin) Ted Zlatanov
2004-01-26 16:35     ` Gnus and SpamAssassin Hubert Chan
     [not found] ` <m265f0prci.fsf@Stella-Blue.local>
     [not found]   ` <m2broroeng.fsf@Stella-Blue.local>
     [not found]     ` <4nd695o1ml.fsf@collins.bwh.harvard.edu>
     [not found]       ` <m2znc9kyi5.fsf@Stella-Blue.local>
     [not found]         ` <87oesp89a4.fsf@uhoreg.ca>
     [not found]           ` <m2vfmxhyxo.fsf@Stella-Blue.local>
     [not found]             ` <874quh8069.fsf@uhoreg.ca>
     [not found]               ` <m2ektkq5cz.fsf@Stella-Blue.local>
2004-01-28 20:47                 ` Ted Zlatanov
2004-02-15 16:34 ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wu7cnbfh.fsf@Stella-Blue.local \
    --to=timmcn@bitstream.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).