« HOWTO: Move my Firefox and Thunderbird profilesHOWTO install folding@home »

HOWTO Install and move my popfile database

11/07/08

Permalink 02:42:47 pm, by richard Email , 268 words   English (GB)
Categories: Ubuntu Linux, Installation and Configuration

HOWTO Install and move my popfile database

Install the popfile package

sudo apt-get install popfile

After installation, POPFile should already be running, listening for http connections on port 7070 and for POP3 connections on port 7071.

If you do not have an existing popfile install with a database to move over that is it you can start up the web interface and start to create buckets.

Click the link, to start. http://127.0.0.1:7070/

Create some buckets and have a look at the configuration options. There is a tab in the web interface. Send yourself some selection of emails for each bucket you want popfile to sort on. Do these one at a time and reclassify them as necessary. This will speed up the already fast training process that popfile has to go through.

Follow up:

I already have a trained database with 27 buckets giving around 98.5% accuracy. I don't want to loose it but is is simple to copy over from one machine to another. Assuming you level the database where is was originally installed. We just need to tar/gzip the old DB and then untar/gunzip it in the new location of machine.

Stop popfile on the old server
sudo /etc/init.d/popfile stop
cd /var/lib 
sudo tar zcvf /tmp/popfile_db.tgz ./popfile

copy the tar ball over to the new machine, with scp or cp if you have already setup an nfs mount point.

Stop popfile on the new server
sudo /etc/init.d/popfile stop
cd /var/lib 
sudo tar zxvf /tmp/popfile_db.tgz 
Restart popfile
sudo /etc/init.d/popfile start

You can now see popfile with the original trained DB with your web browser.

Popfile home page is here

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
What can birds and aeroplanes both do?
antispam test