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

| improve this answer | |

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.