From 8c69260b3d8ba02b1f604b9a524a3d5f0a16df73 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 20 Apr 2020 22:25:17 -0400 Subject: [PATCH] * lisp/bandali-gnus.el: Some automatic processing for incoming spam First, display both X-Spam-Flag and X-Spam-Level headers, and move messages to Junk if their X-Spam-Flag is YES. --- lisp/bandali-gnus.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/bandali-gnus.el b/lisp/bandali-gnus.el index de01c0f..f85f694 100644 --- a/lisp/bandali-gnus.el +++ b/lisp/bandali-gnus.el @@ -91,6 +91,8 @@ ;; ---------------------------------- ;; legend: (u)nsubscribed | (d)ead ;; ---------------------------------- + ;; spam + ("X-Spam-Flag" "YES" "Junk") ;; otherwise, leave mail in INBOX "INBOX"))) (nnimap "uw" @@ -299,6 +301,8 @@ "^Resent-From:" "^User-Agent:" "^X-detected-operating-system:" + "^X-Spam-Flag:" + "^X-Spam-Level:" "^Message-ID:" ;; "^References:" "^List-Id:" -- 2.20.1