[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnus and spam filtering; it is not working well
From: |
physiculus |
Subject: |
gnus and spam filtering; it is not working well |
Date: |
Thu, 13 Jan 2022 19:45:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
hello,
i try to make gnus a bit more useful for spam detection, but it does
only work partially.
if header is flagged as spam, gnus put the message into the spam folder.
but checking with bogofilter is not working.
does anybody know what is wrong with my config?
any help?
Regards,
Jens
;; spam
(require 'spam)
(spam-initialize)
;;(setq spam-log-to-registry t) ; for spam autodetection
(setq spam-use-regex-headers t) ; catch X-Spam-Flag (SpamAssassin)
(setq spam-use-bogofilter t)
(setq spam-bogofilter-database-directory "~/.bogofilter/")
(setq spam-autodetect-recheck-messages nil)
(setq nnmail-split-methods 'nnmail-split-fancy)
(nnimap "GMail"
(nnimap-address "imap.gmail.com")
(nnimap-serer-port "imaps")
(nnimap-user "xxx@yyy.com")
(nnimap-stream ssl)
(nnimap-inbox "[Gmail]/Alle
Nachrichten")
(nnimap-expunge 'immediately)
;;(nnimap-record-commands t)
(nnimap-split-methods
'nnmail-split-fancy)
(spam-autodetect-recheck-messages
nil)
(nnimap-split-download-body t)
(spam-process ((spam
spam-use-bogofilter)
(ham
spam-use-bogofilter)))
(nnmail-split-fancy
(&
(&
(: spam-split "regex-spam"
'spam-use-regex-headers)
;;(: spam-split)
(:
nnmail-split-fancy-with-parent)
;;(: spam-split)
)
(|
(any ".*xxx@yyyhaus\\.de"
"Linz")
(any ".*yyy@yyyhaus\\.de"
"Linz")
(any ".*nnn@yyyhaus\\.de"
"Linz")
(any ".*sss@gmail\\.com"
"Linz")
(any
".*ggg@holnishaus\\.de" "Linz")
)
(&
(any
".*emacs-orgmode@gnu\\.org" "OrgDigest")
(any
".*info-gnus-english@gnu\\.org" "gnus")
(any ".*n3\\.nabble\\.com"
"notmuch")
(any
".*mu-discuss@googlegroups\\.com" "mu")
(any ".*pinterest\\.com"
"Pinterest")
(any
".*bbdb-user-request@nongnu\\.org" "bbdb")
(any
".*emms-help-request@gnu\\.org" "emms")
(any ".*ebay\\.com" "EBay")
(any ".*ebay\\.de" "EBay")
(any
".*ebay-kleinanzeigen\\.de" "EBay")
(any
".*list@moertelshop\\.com" "Moertelshop")
(any
".*gartenkalender@garten-schlueter\\.de" "Garten")
(any
".*info@bohlken-baumschulen\\.de" "Garten")
(any
".*newsletter@gaissmayer\\.de" "Garten")
(any ".*@correcti\\.org"
"Correcti")
))
"INBOX")
;;(nnimap-split-methods default)
(get-new-mail t)
(gnus-search-engine
gnus-search-imap)
)
- gnus and spam filtering; it is not working well,
physiculus <=