[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Spam Package help
Spam Package help
Mon, 21 May 2007 11:31:56 GMT
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)
Well my migration to Gnus seems to be going well. I've got a few more
issues to sort out before it's a complete success.
The most important is getting spam filtering working satisfactorily.
I am trying to use the bogofilter back end of the spam package, along
with a bbdb-whitelist (a brilliant idea), and regex headers to catch
things marked as spam upstream (not a lot is marked, but there's
been no false positives, so I guess I might as well)
I receive email to that has been sent to several different email
addresses, some more public than others, and which have different
levels of importance. For example:
- support requests must receive answers, so I must be very careful not
to lose ham in my spam.
- email sent to my personal address is probably not as important,
unless it's from a client - in which case the BBDB white list will
get it. this address gets a *lot* of spam.
There are two things I'd like to achieve:
1. Since these addresses have different profiles, I'd like to use
different bogofilter databases for them. However as far as I can
see there is only one global setting for the database file. Is
this possible - if it isn't now, it worth adding?
2. Since I need to check support request spam (for example) more often
and more carefully than main INBOX spam, I want to set up some
specific spam folders, which are linked to their parent folders. I
have this almost working.
For number 2, the tree and rules should be something like this:
INBOX <- All mail is delivered here
INBOX.spam <- The default place to drop spam.
INBOX.Support Requests <- some mail is split here
INBOX.Support Requests.spam <- Spam to the support requests addr. goes
here. Checked often.
INBOX.Lists... <- Spam that would otherwise be split to
other folders should go to INBOX.spam
(I hope the formatting of that comes out OK, message mode seems to
handle indenting text very nicely :-) )
What I currently have in my gnus.el is this:
;; We want spam checking!
(setq spam-use-bbdb t
;; This doesn't work! What I hoped it would do is to say "If a folder
;; doesn't end in .spam then it's a ham folder, and any spam in it
;; should be moved to the same folder name, but with .spam appended.
;; If it does end in .spam, it's a spam folder, and any ham should be
;; moved to the folder with the same name, but without the .spam. Not
;; exactly what I describe above, but close enough. As it is, I don't
;; believe it's doing anything at all. I have no idea how to debug
(spam-contents . gnus-group-spam-classification-ham)
(spam-process-destination . "\\1.spam")
(spam-contents . gnus-group-spam-classification-spam)
(ham-process-destination . "\\1")
;; message splitting - shortened and for demonstration. This does
(setq nnimap-split-inbox '("INBOX")
nnimap-split-fancy '(| (any "supportaddress" ;; not the real address
(| (: spam-split
(| (: spam-split "INBOX.spam")
Sorry this post is so long, I didn't have time to make it shorter :-)
Any help would be greatly appreciated.
Peter Russell <firstname.lastname@example.org>
|[Prev in Thread]
||[Next in Thread]|
- Spam Package help,
Peter Russell <=