info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bogofilter behavior


From: Ted Zlatanov
Subject: Re: bogofilter behavior
Date: Tue, 28 Sep 2004 10:37:33 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Mon, 27 Sep 2004, 4.uce.03.r.s@nurfuerspam.de wrote:

> I looked into `spam.el', but I'm not sure where to include the check.
> I think we could make a test like this one.  WDYT?
> 
> (when (string-match "^bogofilter version 0\\.\\([0-9]\\|1[01]\\)\\."
>                   (shell-command-to-string "bogofilter -V"))
>   (error "`spam.el' doesnt support obsoleted bogofilter versions"))

I included this in spam-verify-bogofilter, which is used at check time
and registration/unregistration time.  It caches the result in the
spam-bogofilter-valid variable after the first check (I had it
uncached at first, oops).

Ted

reply via email to

[Prev in Thread] Current Thread [Next in Thread]