Gnus development mailing list
 help / color / mirror / Atom feed
From: Jody Klymak <jklymak@coas.oregonstate.edu>
Subject: Re: spam.el and Procmail splitting strategy?
Date: Mon, 14 Apr 2003 12:49:32 -0700	[thread overview]
Message-ID: <un0isj1v7.fsf@coas.oregonstate.edu> (raw)
In-Reply-To: <m3fzox2h81.fsf@heechee.beld.net> (Ted Zlatanov's message of "Sat, 05 Apr 2003 08:42:38 -0500")


Hi Ted,

Just realized that I never got back to you...

Ted Zlatanov <tzz@lifelogs.com> writes:

> Well, I was thinking of a 'respool spam/ham process destination, as
> suggested before, which would resubmit the spam/ham mail to the spool
> process from any mailbox.  Would that work for you?

Not sure if that would work.  Does imap support re-spooling?  

I am pretty happy taking bbdb out of my .procmail and splitting it in
gnus instead.  It does, however, seem that this will end up being a
generic problem if other mail groups get infected.  Doing all my
splitting in gnus may be a good option - it just means that I
need to have a gnus running at all times on my main machine.  

It seems that it should be possible to spam-split new messages in any
group upon entry.  I guess it just doesn't fit with the existing
splitting mechanism.  Perhaps the splitting mechanism not be extended
so that the last argument in nnimap-split-fancy is something like
"current-split-inbox" instead of a single mail box?  Then I could do
something like:

(setq
  nnimap-split-rule 'nnimap-split-fancy
  nnimap-split-inbox ("INBOX" "mail/ZIn.bbdb")
  nnimap-split-fancy '(|
		       (: spam-split)
		      ;; default mailbox
		      'current-split-mailbox)
)

instead of: 
(setq
  nnimap-split-rule 'nnimap-split-fancy
  nnimap-split-inbox "INBOX"
  nnimap-split-fancy '(|
		       (: spam-split)
		       (any ".*bbdb.*" "mail/ZIn.bbdb")
		      ;; default mailbox
		      "mail/Inbox.spam")
)

Of course, I have no idea how the splitting code is written so that
may not be easy.   

> I think it would be easier in the end to keep splitting on the client
> side with spam.el.

I agree - being able to continuously train bogofilter from within gnus
is very convenient.

Thanks,   Jody

-- 
Jody Klymak                           104 Ocean Admin Bldg., OSU
mailto:jklymak@coas.oregonstate.edu   Corvallis OR, 97330




  reply	other threads:[~2003-04-14 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 17:38 Jody Klymak
2003-04-05 13:42 ` Ted Zlatanov
2003-04-14 19:49   ` Jody Klymak [this message]
2003-04-15 17:48     ` Ted Zlatanov

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=un0isj1v7.fsf@coas.oregonstate.edu \
    --to=jklymak@coas.oregonstate.edu \
    /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).