EnglishFrenchSpanish

Ad


OnWorks favicon

bogoupgrade-bdb - Online in the Cloud

Run bogoupgrade-bdb in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bogoupgrade-bdb that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bogoupgrade - upgrades bogofilter database to current version

SYNOPSIS


bogoupgrade [-h] -d directory [-i input file] [-o output file] [-b path to bogoutil]

DESCRIPTION


bogoupgrade is a command to upgrade bogofilter's databases from an old format to the
current format. Since the format of the database changes once in a while, the utility is
designed to make the upgrade easy.

OPTIONS


The -h option prints the help message and exits.

The -d specifies the directory with the wordlists for converting. This option is used when
converting from multiple, separate wordlists (spamlist.db and goodlist.db - containing
spam and ham tokens, respectively) to a combined wordlist (wordlist.db) which contains
both spam and ham tokens.

The -i specifies the input file to be converted. It should be a text file containing
message counts, and possibly data. If there is no data in the text file, there should be a
Berkeley DB file in the same directory as the text file which contains the data.

The -o specifies the output Berkeley DB file.

The -b gives the path to the bogoutil command. It defaults to 'bogoutil', in the hopes
that your shell will find it.

UPGRADING


Follow these instructions to upgrade bogofilter's databases to the latest version.

1. Stop all instances of bogofilter. While the upgrade tools lock the database files, the
upgrade may take a long time if you have a busy site. Don't forget to stop cron jobs
or daemons that fetch and process mail and could fire off bogofilter.

2. Backup your data. Let's assume that you said:

$ mv ~/.bogofilter ~/.bogofilter.safe
$ mkdir ~/.bogofilter

3. If your bogofilter version is less than 0.7, say:

$ bogoupgrade -i ~/.bogofilter.safe/goodlist -o ~/.bogofilter/goodlist.db
$ bogoupgrade -i ~/.bogofilter.safe/badlist -o ~/.bogofilter/spamlist.db

If your bogofilter version is 0.7 or greater, say:

$ bogoupgrade -i ~/.bogofilter.safe/hamlist.count -o ~/.bogofilter/goodlist.db
$ bogoupgrade -i ~/.bogofilter.safe/spamlist.count -o ~/.bogofilter/spamlist.db

4. Current versions of bogofilter use a combined wordlist that holds both spam and
non-spam tokens. It is named wordlist.db. If you're updating from a version older than
0.14.0 that has separate wordlists (named goodlist.db and spamlist.db), use:

$ bogoupgrade -d ~/.bogofilter.safe

5. Done. Restart any stopped daemons, cron tasks, etc.

Use bogoupgrade-bdb online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    DivFix++
    DivFix++
    DivFix++ is yours AVI video repair and
    preview software. It designed for repair
    and preview files which are on download
    from ed2k(emule), torrent, gnutella, ftp...
    Download DivFix++
  • 2
    JBoss Community
    JBoss Community
    Community driven projects featuring the
    latest innovations for cutting edge
    apps. Our flagship project JBoss AS is
    the leading Open Source,
    standards-compliant...
    Download JBoss Community
  • 3
    Django Filer
    Django Filer
    django Filer is a file management
    application for django that makes
    handling files and images a breeze.
    django-filer is a file management
    application for djang...
    Download Django Filer
  • 4
    xCAT
    xCAT
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    diskful/di...
    Download xCAT
  • 5
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 6
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • More »

Linux commands

Ad