Gnus development mailing list
 help / color / mirror / Atom feed
* Splitting on mail contents?  (using spam-stat.el)
@ 2002-09-04 12:01 Oystein Viggen
  2002-09-04 14:00 ` Kai Großjohann
  2002-09-12 16:07 ` Paul Jarc
  0 siblings, 2 replies; 20+ messages in thread
From: Oystein Viggen @ 2002-09-04 12:01 UTC (permalink / raw)


Hi

I've been playing with Alex Schroeder's spam-stat.el, getting quite good
results on the dry run tests, and would like to try using it in my split
rules.  The problem is that I can't figure out how to get at the
complete mail and not just the headers from a function in
nnmail-split-methods.

I don't use fancy splitting, and gnus-original-article-buffer, which is
used in spam-stat-split-fancy seems not to be updated during splitting,
and will just contain the last article viewed.  Will I need to do some
very fancy widening in my function, or is there a standard way?

I'd like to have something like this:

(setq nnmail-split-methods 
  '(("mail.spam-stat" my-spam-stat-non-fancy-split)
    ;; other rules here
    ("mail.misc" "")))

My-spam-stat-non-fancy-split should run spam-stat-score-buffer on the
complete mail, both the headers and the contents.  Can this be done?

Oystein
-- 
When in doubt: Think again.



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2002-09-23 18:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-04 12:01 Splitting on mail contents? (using spam-stat.el) Oystein Viggen
2002-09-04 14:00 ` Kai Großjohann
2002-09-04 14:16   ` Oystein Viggen
2002-09-04 14:56     ` Kai Großjohann
2002-09-04 15:16       ` Oystein Viggen
2002-09-04 15:23       ` Jeremy H. Brown
2002-09-04 17:00         ` Oystein Viggen
2002-09-13 16:18         ` finding the article buffer when splitting Alex Schroeder
2002-09-13 23:56           ` Oystein Viggen
2002-09-14  1:18             ` Alex Schroeder
2002-09-14 10:01               ` Oystein Viggen
2002-09-15 18:21           ` Jeremy H. Brown
2002-09-23 14:11             ` Alex Schroeder
2002-09-23 18:49               ` Oystein Viggen
2002-09-06 15:55       ` Splitting on mail contents? (using spam-stat.el) Alex Schroeder
2002-09-07 12:30         ` Alex Schroeder
2002-09-07 17:17           ` Simon Josefsson
2002-09-07 19:05             ` Kai Großjohann
2002-09-07 19:05           ` Kai Großjohann
2002-09-12 16:07 ` Paul Jarc

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