opensubscriber
   Find in this group all groups
 
Unknown more information…

i : info-gnus-english@gnu.org 9 July 2012 • 12:50AM -0400

Re: How to use the new code in spam.el?
by Tassilo Horn

REPLY TO AUTHOR
 
REPLY TO GROUP




"John Wiegley" <johnw@newa...> writes:

Hi John,

> In Gnus, I want to be able to mark spam in INBOX with $, and ham in
> mail.spam with M-u, and have each moved to the right place.

I do exactly that.  Here're the relevant settings:

--8<---------------cut here---------------start------------->8---
(spam-initialize)
(setq gnus-spam-newsgroup-contents
      '(("\\(spam\\|Junk\\)" gnus-group-spam-classification-spam))
      ;; Move SPAM in normal groups to traning.spam.
      gnus-spam-process-destinations
      '(("nnimap\\+Fastmail:"
"nnimap+Fastmail:INBOX.training.spam")
("nnimap\\+Uni:"
"nnimap+Uni:Junk"))
      ;; Move ham in spam groups to both inbox and training.ham.
      gnus-ham-process-destinations
      '(("nnimap\\+Fastmail:INBOX\\.Junk Mail"
"nnimap+Fastmail:INBOX"
"nnimap+Fastmail:INBOX.training.ham")
("nnimap\\+Uni:Junk"
"nnimap+Uni:INBOX")))
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu....
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.