[mew-int 01696] IMAP spam filter
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
Tue Dec 9 09:52:41 JST 2003
Hello,
I have implemented IMAP spam filter. This makes use of IMAP's SEARCH
and finds spam messages and refiles/deletes them in your IMAP
server. Thus, you don't have to fetch(scan) them to %inbox. This
filter works as a preprocess of "s" on %inbox.
* This works for %inbox only.
* Because of the limitation of the IMAP protocol, this filter is not
effective if %inbox contains many messages.
If you are using bogofilter and want to refile spam messages to
%trash, put the folloings to your ".mew":
(setq mew-imap-spam-field "X-Bogosity") ;; Do NOT append ":"
(setq mew-imap-spam-word "Yes")
(setq mew-imap-trash-folder "%trash") ;; nil means really delete
You can also configure them with mew-config-alist.
Since messages in %trash increase automatically, you should not forget
to manage %trash. :-)
--Kazu
More information about the Mew-int
mailing list