Hello, after some fiddling I’ve managed to complete my Spam setup for Gnus using bogofilter and regex.
Here is part of my setup: (setq nnimap-split-download-body-default t spam-use-bogofilter t spam-use-regex-headers t spam-log-to-registry t gnus-spam-newsgroup-contents '(("spam" gnus-group-spam-classification-spam) ;; ‘spam’ groups contain spam (".*" gnus-group-spam-classification-ham))) ;; all others are ham I’ve multi-account IMAP setup and each account has ’spam’ group. Now, each of my nnimp+account has the following in the gnus-parameters: ;; Spam setup ;;(spam-contents gnus-group-spam-classification-ham) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (spam-process-destination . "nnimap+account:spam") Lastly, I have: (nnimap "jagoda" (nnimap-address "mail.webfaction.com") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-authinfo-file "~/.authinfo.gpg") (nnimap-inbox "INBOX") (nnimap-split-methods 'nnimap-split-fancy) (nnimap-split-fancy (| (: gnus-registry-split-fancy-with-parent) (: spam-split 'spam-use-regex-headers) (: spam-split) "INBOX") ;; default mailbox )) in each account’s gnus-secondary-select-methods: (nnimap "account" (nnimap-address "mail.server.com") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-authinfo-file "~/.authinfo.gpg") (nnimap-inbox "INBOX") (nnimap-split-methods 'nnimap-split-fancy) (nnimap-split-fancy (| (: gnus-registry-split-fancy-with-parent) (: spam-split 'spam-use-regex-headers) (: spam-split) "INBOX") ;; default mailbox )) Now I wonder if, considering that I have ’globally’ enabled spam-use-bogofilter & spam-use-regex-header and due to defined gnus-spam-newsgroup-contents do I still need: (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (spam-process-destination . "nnimap+account:spam") in each account’s group parameters? Sincerely, Gour -- The intricacies of action are very hard to understand. Therefore one should know properly what action is, what forbidden action is, and what inaction is. _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english