[mew-int 01654] spam again ( sorry )

Francesco Scaglioni fgs at example.com
Fri Nov 28 21:40:36 JST 2003


Hello,

I am obviously missing something fundamental.  From within mew
bogofilter will learn ham and spam and update goodlist and
spamlist dbs fine.  If, from a shell I manually point bogofilter
at a mail folder it will output fairly accurately the spam or not
values of the mails within that folder to stdout.  What I cannot
get to happen is to have bogofilter actually _do_ anything to
mail as it comes into mew.  I am using mew with POP as this is
all running on a laptop.


my ~/.mew.el includes ::
^^^^^^^^^^^^^^^^^^^^^^^^
(defun mew-spam-bogofilter (val)
  (let ((case-fold-search t))
    (if (string-match "yes" val) ?D)))

(setq mew-inbox-action-alist
      `(
	("X-Bogosity:" mew-spam-bogofilter)
	))


my ~/.emacs includes ::
^^^^^^^^^^^^^^^^^^^^^^^
(setq mew-spam: "X-Bogosity:")



the output of bogofilter -Q is ::
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bogofilter version 0.15.7

algorithm   = robinson
robx        = 0.415000 (4.15e-01)
robs        = 0.001000 (1.00e-03)
min_dev     = 0.000000 (0.00e+00)
ham_cutoff  = 0.000000 (0.00e+00)
spam_cutoff = 0.540000 (5.40e-01)

block_on_subnets  = no
strict_check      = no
ignore_case       = no
header_line_markup = yes
tokenize_html_tags = yes
replace_nonascii_characters = no

spam_header_name  = 'X-Bogosity:'
header_format     = '%h: %c, tests=bogofilter, spamicity=%p, version=%v'
terse_format      = '%1.1c %f'
log_header_format = '%h: %c, spamicity=%p, version=%v'
log_update_format = 'register-%r, %w words, %m messages'
spamicity_tags    = 'Yes', 'No'
spamicity_formats = '%0.6f', '%0.6f'


Does anyone kindly have any suggestions as to what I am missing.

Many, many thanks,

Francesco



More information about the Mew-int mailing list