From: isoboroff@gmail.com
To: info-gnus-english@gnu.org
Subject: Spam configuation and bogofilter
Date: Mon, 16 Jul 2007 18:15:47 -0000 [thread overview]
Message-ID: <1184609747.371037.260910@d55g2000hsg.googlegroups.com> (raw)
To quote the Gnus manual, "all those variables, they make my head
swim."
I'm moving to spam.el from ifile-gnus. For some unknown reason, ifile
was not being run at all, so in a fit of desperation I switched to
bogofilter. Classification of incoming mail is working fine, but I
don't think my database is being updated when I mark messages as spam.
My setup:
(spam-initialize)
(gnus-registry-initialize)
(setq spam-split-group "mail.spamgate"
spam-use-spamassassin-headers t
spam-use-bogofilter t
gnus-spam-newsgroup-contents
'(("mail.spamgate" gnus-group-spam-classification-spam)
("mail.spam.expired" gnus-group-spam-classification-spam))
spam-mark-only-unseen-as-spam t
spam-mark-ham-unread-before-move-spam-from-group t
gnus-ham-process-destinations '(("mail\\..*" "mail.inbox"))
gnus-spam-process-destinations '(("mail\\..*" "mail.spamgate"))
spam-log-to-registry t
gnus-registry-max-entries 4000)
The behavior I want is as follows. I have two spam groups, 'spamgate'
and 'spam.expired'. When incoming mail is classified as spam, it is
sent to spamgate where I manually check things periodically. If its
really spam, I mark it expirable, otherwise I move it to mail.inbox or
wherever it belongs. Expiry moves the spam eventually to spam.expired
for later archiving or deletion.
When I mark a spam message in my inbox as spam with M-s, it gets the $
mark, and when I exit the group the message is moved to spamgate. So
far, so good. However, the timestamp on my bogofilter database
doesn't change, so I suspect that no training has occurred.
If I go to spamgate, and then leave the group without changing the
marks on the moved spam, the messages are moved _again_ to spamgate,
and no training occurs. If I mark them expirable, then the don't get
moved, but still no training occurs.
Can someone help me sort out my setup? Please, no group parameters...
I like to keep as much as possible in my .gnus.el so I can see it all
at once and not have to wonder where some option is. Also no 'custom'
please for the same reason.
Thanks,
Ian
next reply other threads:[~2007-07-16 18:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 18:15 isoboroff [this message]
2007-07-17 9:09 ` Ted Zlatanov
2007-07-17 12:08 ` isoboroff
2007-07-17 18:24 ` Ted Zlatanov
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=1184609747.371037.260910@d55g2000hsg.googlegroups.com \
--to=isoboroff@gmail.com \
--cc=info-gnus-english@gnu.org \
/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).