POPFile v0.21.0 Update in OS X

Written by Ken Edwards
Published March 11, 2004
page 1 | 2 | 3

A couple warnings from the developer:

  • It's possible that you might see a drop in accuracy as your corpus gets trained up on the new anti-spam features. This drop in accuracy will be corrected once you've retrained POPFile a little.
  • I'm suggesting that if you have a corpus with GREATER THAN 30,000 unique words (you can figure this out from the Buckets page) please wait for v0.21.1.

I have written about POPFile on Mac OS X in the past, and if you are interested in POPFile, you should read my previous articles:

Upgrading POPFile

This assumes you have POPFile 0.20.0 or 0.20.1 installed in Mac OS X (10.3 recommended). If you have not installed POPFile in the past, please read the two above links. For example I am not discussing creating the StartupItem for POPFile here. You can find that information in the above links.

Just a reminder: you need the Developer Tools installed to compile the perl modules.

A) Download SQLite, DBI, DBD::SQLite, Digest::Base, Digest::MD5, and HTML::Tagset from the links provided above. Mount the SQLite disk image.

B) Open Terminal and type this: sudo cp /Volumes/SQLite-2.8.13/sqlite /sbin/ (type admin password)

C) Next you will be installing all the perl modules. These are all installed in the same manner. Remember that if you drag a folder from the finder to Terminal, it will write the path for you. So just type cd [space] and then drag the name of the folder (eg. DBD-SQLite-0.31) into the Terminal.

Installing the module goes like this:

In the Terminal, cd to the unpacked perl module's folder
perl Makefile.PL [return]
make [return]
make test [return]
make install [return]

Now you need to install the new version of POPFile.

1) Shutdown POPFile, go to http://localhost:8080/ (or the port number you changed POPFile to) and click “Shutdown POPFile”

2) Backup your current POPFile install. This is at /Library/POPFile

3) Keep the folder /Library/POPFile/corpus handy, you will need to move this to the new version of POPFile. Also keep “popfile.cfg” which holds your settings.

4) Download the new version of POPFile, in this case, popfile-0.21.0.zip

5) Replace the /Library/POPFile folder with the newly downloaded version of POPFile.

6) Be sure to move the corpus folder over to /Library/POPFile and the popfile.cfg file, or you will have no buckets, magnets, or anything for that matter!

page 1 | 2 | 3
Ken Edwards is the Gaming Editor at Blogcritics, and calls Breaking Windows home. Ken works part time for Student Publications at BGSU as the Webmaster and System Administrator. He is also a freelance web developer.

Keep reading for information and comments on this article, and add some feedback of your own!
Buy from Amazon.com
Stopping Spam Stopping Spam
Simson Garfinkel
Book,

POPFile v0.21.0 Update in OS X
Published: March 11, 2004
Type:
Section: Sci/Tech
Filed Under: Sci/Tech: Software
Writer: Ken Edwards
Ken Edwards's BC Writer page
Ken Edwards's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
BC articles by Ken Edwards
Sci/Tech: Software
All Sci/Tech Articles
Ken Edwards's personal weblog
All BC articles
All BC Comments

Comments

#1 — April 14, 2004 @ 11:22AM — Luc Saint-Elie

Hello,

All this is great, but this article doesn't exlain step by step how to install this stuff (for example, what to do with SQLite ???) and all the existing texts about popfile with berkeley simply doesn't work for a non-geek user... So is there somewehre a step by step "how to install the new popfile with sqlite under Panther " ??

Thanks in advance

#2 — April 14, 2004 @ 14:34PM — Ken Edwards [URL]

Hi, I have been meaning to go to that very thing, but have been busy.

Follow steps A, B, and C.

Just get SQLite from Michael Tsai's web site.

The extra thing you will need is the StartupItem.

Go here and read step 4.5 and 5 (his instructions are not updated for 0.21.0 yet.) You can download a pre-made StartupItem here. Then set its permissions, and you should be all set.

Let me know if it does not work.

#3 — April 14, 2004 @ 16:39PM — Luc Saint-Elie

Only one word : perfect !!

Thanks for your quick and kind help

Popfile is running under sqlite on my powerbook

Luc

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/13608)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments