"John Wiegley" <[email protected]> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to