From: Amin Bandali Date: Tue, 21 Apr 2020 02:25:17 +0000 (-0400) Subject: * lisp/bandali-gnus.el: Some automatic processing for incoming spam X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8c69260b3d8ba02b1f604b9a524a3d5f0a16df73 * 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. --- 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:"