Gnus development mailing list
 help / color / mirror / Atom feed
From: Bill White <billw@wolfram.com>
Subject: integrating spamassassin into pop retrieval?
Date: Wed, 10 Apr 2002 09:42:20 -0500	[thread overview]
Message-ID: <ruolmbvd38z.fsf@billwlx.wolfram.com> (raw)

How can I integrate spamassassin into this retrieval & splitting
system?

- email mysteriously arrives at pop.wolfram.com

- gnus grabs it via pop3.el and writes it to mail-source-crash-box,
  and stores a copy thanks to (setq mail-source-delete-incoming nil).

- the file is split via 

  (setq nnmail-split-fancy
        '(|
          (from ".*Dan Largent.*" "personal")
          (from ".*Michelle Largent.*" "personal")
          ("Subject" ".*Voice mail waiting for x.*" "voice-mail")
          ("Return-Path" ".*<dmeadows@idirect\\.com>.*" "Explorator")
  [...]
  ))

and is written into nnml files in the indicated dirs.

Is there a way to run spamassassin on each email as it's split?  Maybe
a function at the top of nnmail-split-fancy which would call it?  I
think I want to keep spamassassin completely local and use it only
when I explicitly retrieve email via 'g' in the Group buffer.

Thanks!

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




                 reply	other threads:[~2002-04-10 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=ruolmbvd38z.fsf@billwlx.wolfram.com \
    --to=billw@wolfram.com \
    /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).