I am migrating my email workflow to gnus. I want to use splitting to keep things organized and for the splits to take effect on the server. I think my splits are working for incoming mail, but I want to sort my old mail too.

(setq gnus-select-method '(nnimap "outlook.office365.com"
                  (nnir-search-engine imap)
                  (nnimap-stream starttls)
                  (nnimap-split-download-body t)
                  (nnimap-split-predicate "UNDELETED")
                  (nnimap-split-fancy  (| ("MailScanner4-SpamCheck" "spam" "spam\.detected")
                               (from ".*@spammer.com" "mail\.custom\.spams")
                               (from ".*acm.org" "mail.acm")

3 steps:

  1. Select your mails:

  2. Respool them:

    B-r RET RET
  3. Be happy

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.