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: Wed, 28 Jan 2004 23:09:08 -0600	[thread overview]
Message-ID: <m2d693mjd7.fsf@Stella-Blue.local> (raw)
In-Reply-To: <m2r7xjjvvo.fsf@Stella-Blue.local>

Tim McNamara <timmcn@bitstream.net> writes:

To follow up on my follow-up, the following results in "iBOB" mail
being split accurately but all other mail ending up in nnml:bogus.
Obviously I did something wrong...

> (setq nnmail-split-methods 'nnmail-split-fancy)
>
> (require 'spam)
> (defun sa-on-message ()
>    ;;Use SpamAssassin to catch spam into "spam"
>   
>       (widen)
>       (let ((spam-split-symbolic-return t)
>             (spam-spamassassin-path "/usr/bin/spamc"))
>        (when (eq 'spam (spam-check-spamassassin))
>         "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-29  5:09 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
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 [this message]
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=m2d693mjd7.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).