Re: Spamprobe 1.1x6 released

Anthony Campbell <ac-MeA/[email protected]>
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
On 28 Mar 2005, Guillaume Laurent wrote:
> On Sunday 27 March 2005 16:38, Brian Burton wrote:
> > 
> > To create a hash data file you add a prefix to the directory name in the
> > -d command line option.  You can specify just the directory like this:
> >
> >    spamprobe -d hash:$HOME/.spamprobe
> >
> > or you can add a size in megabytes for the file like this:
> >
> >    spamprobe -d hash:42:$HOME/.spamprobe
> 
> With the 1.1x6 I just installed, none of these lines seem to have any effect 
> except throwing up a 'usage' error message, and spamprobe -V crashes :
> 
> spamprobe -V
> error: unable to open database /home/glaurent/.spamprobe/sp_words: No such 
> file or directory
> caught runtime exception: unable to open words database
> caught signal 11: cleaning up
> zsh: abort (core dumped)  spamprobe -V
> 
> -- 
> Guillaume.
> http://www.telegraph-road.org
> 

Seems to be working here. First I exported the original pbl database,
and then imported it as a hash file, using the -d hash:path switch. This
produced a hash database in HOME/.spamprobe alongside the original pbl
file. (Don't know if this is the right thing to do but it seemed to
work.)

Now, spamprobe -V shows:
SpamProbe v1.1x6 using DBM-pbl-cached database.

And spamprobe -d hash:/home/ac/.spamprobe -V  shows:
SpamProbe v1.1x6 using Hashed-array-cached database.

So I assume you can choose either database according to which switch you use.
I'm still testing this to see how well it works in practice.

Anthony





-- 
ac-MeA/[email protected]    ||  http://www.acampbell.org.uk for
using Linux GNU/Debian ||  blog, book reviews, electronic  
Windows-free zone      ||  books and skeptical articles


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.