If you are upgrading from a version of spasm prior to 1.0, the following guidelines should help make the process a bit smoother: 1) Backup the entire spasm directory tree! 2) Backup the entire spasm directory tree! 3) Backup the entire spasm directory tree! 4) With your backup safely stored, you'll now want to upgrade the database files to the DB4 format. Berkeley DB comes with a handy tool to do this: db_upgrade. Run this program against all database files in the whitelists directory and blacklists directory, and against the envfrom, spamtraps, userbl, and any other databases you might have created. 5) Create a filters directory (or whatever you #define DB_FILTER_DIR to be in spasm.h), with the same permissions as the blacklists and whitelists directories. 6) Rename the blacklists databases to remove the ".db" extension. If you wish to retain the ".db" extension, edit spasm.h and #define the appropriate variables to point to the full filename. 7) Now the fun part! Ok, not really. In the contrib directory, there is an "upgrade_filters.c" program. This program will automatically convert the old-style "userbl" database to the new filters format. The userbl database must already have been upgraded (via db_upgrade) to the DB4 format. Edit the included contrib/oldvars.h file and verify that it contains the proper filter variables. If you're using version 0.30 unmodified, it should work straight out of the box. Please note that removed filters, such as Osirusoft, should not be in the oldvars.h file. Compile the upgrade_filters program (make upgrade_filters), then run the program with the full path to your userbl file as the only argument (eg, "upgrade_filters /spasm/userbl.db"). Verify that the conversion was successful.