From: Markus Korber <markus.korber@aphona.net>
Subject: Bogofilter and spam.el
Date: Thu, 13 Nov 2003 13:18:20 +0100 [thread overview]
Message-ID: <863ccs1myb.fsf@titan.aphona.rbgat.net> (raw)
I've problems using spam.el in connection with bogofilter and IMAP.
I get new mail with 'g'. However, even though 'S t' in my INBOX
indicates a spamicity value of 1.0, spam is sometimes moved to
INBOX/spam and sometimes not. If I press 'g' a second time, however,
spam is moved. My setup is as follows:
,----
| (setq spam-use-bogofilter t
| spam-bogofilter-database-directory "/home/mkorber/.bogofilter")
|
| (setq spam-mark-only-unseen-as-spam t)
|
| (require 'spam)
|
| (setq nnimap-split-download-body t)
|
| (setq spam-process-ham-in-spam-groups t)
| ;(setq spam-mark-ham-unread-before-move-from-spam-group t)
|
| (setq spam-stat-split-fancy-spam-group "spam")
| (setq spam-split-group "spam")
|
| (setq nnimap-split-rule 'nnimap-split-fancy
| nnimap-split-fancy
| '(| ("^From" "xxx" "INBOX/xxx")
| (: spam-split)
| "INBOX/"))
|
| (setq gnus-spam-newsgroup-contents
| '(("^nnimap:spam$" gnus-group-spam-classification-spam)
| ("^nnimap:INBOX$" gnus-group-spam-classification-ham))
|
| gnus-spam-process-destinations
| '(("^nnimap:INBOX$" "nnimap+aphona IMAP server:spam"))
| gnus-ham-process-destinations
| '(("^nnimap:spam$" "nnimap+aphona IMAP server:INBOX"))
|
| gnus-spam-process-newsgroups
| '(("^nnimap:spam$"
| (gnus-group-spam-exit-processor-bogofilter))
|
| ("^nnimap:INBOX$"
| (gnus-group-spam-exit-processor-bogofilter
| gnus-group-ham-exit-processor-bogofilter))))
`----
next reply other threads:[~2003-11-13 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-13 12:18 Markus Korber [this message]
2003-11-19 21:16 ` Ted Zlatanov
2003-11-20 14:40 ` Markus Korber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=863ccs1myb.fsf@titan.aphona.rbgat.net \
--to=markus.korber@aphona.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).