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

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

Re: bogofilter behavior


From: Reiner Steib
Subject: Re: bogofilter behavior
Date: Mon, 27 Sep 2004 20:03:44 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

On Mon, Sep 27 2004, Ted Zlatanov wrote:

>> Matthias Andree <matthias.andree@gmx.de> writes:
>>> It's sensible to request frequent updates of users using a development
>>> version. Don't waste your time on the 0.1 % of machines that run
>>> outdated bogofilter versions - use the registration as mentioned above
>>> and refuse work with versions before and excluding 0.11.0.
[...]
> OK, is someone interested in producing and testing a patch to make
> bogofilter's latest version a requirement?  It would make my life
> easier, as I won't be able to get this done quickly on my own (I don't
> use bogofilter).

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"))

Slightly tested with...

$ bogofilter -V
bogofilter version 0.16.4
    Database: BerkeleyDB (4.2.52)
Copyright (C) 2002 Eric S. Raymond
[...]

$ bogofilter -V

bogofilter version 0.10.3.1
Copyright (C) 2002 Eric S. Raymond
[...]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

reply via email to

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