Update 17 drones and commit a bunch of changes
[~bandali/configs] / lisp / bandali-gnus.el
index f85f694..2bfa816 100644 (file)
@@ -92,7 +92,7 @@
                                   ;; legend: (u)nsubscribed | (d)ead
                                   ;; ----------------------------------
                                   ;; spam
-                                  ("X-Spam-Flag" "YES" "Junk")
+                                  ("X-Spam_action" "reject" "Junk")
                                   ;; otherwise, leave mail in INBOX
                                   "INBOX")))
      (nnimap "uw"
        '(list . "list-id\\|list-post\\|x-mailing-list\\|x-beenthere\\|x-loop")
        t)))
 
+  ;; (require 'gnus-registry)
+  ;; (setq gnus-registry-max-entries 2500)
+  ;; (setq gnus-registry-ignored-groups
+  ;;       (append gnus-registry-ignored-groups
+  ;;               '(("^nnimap:gnu\\.l" t)
+  ;;                 ("webmasters$" t))))
   ;; (gnus-registry-initialize)
 
   (with-eval-after-load 'recentf
                              "^Resent-From:"
                              "^User-Agent:"
                              "^X-detected-operating-system:"
-                             "^X-Spam-Flag:"
-                             "^X-Spam-Level:"
+                             "^X-Spam_action:"
+                             "^X-Spam_bar:"
                              "^Message-ID:"
                              ;; "^References:"
                              "^List-Id:"