First, display both X-Spam-Flag and X-Spam-Level headers, and move
messages to Junk if their X-Spam-Flag is YES.
;; ----------------------------------
;; legend: (u)nsubscribed | (d)ead
;; ----------------------------------
+ ;; spam
+ ("X-Spam-Flag" "YES" "Junk")
;; otherwise, leave mail in INBOX
"INBOX")))
(nnimap "uw"
"^Resent-From:"
"^User-Agent:"
"^X-detected-operating-system:"
+ "^X-Spam-Flag:"
+ "^X-Spam-Level:"
"^Message-ID:"
;; "^References:"
"^List-Id:"