spamtrak-dbop - Database operations for the Spamtrak spam tracking system.
spamtrak-dbop [-q] dump [filename]
spamtrak-dbop [-q] load [filename]
spamtrak-dbop [-q] age
The spamtrak-dbop program implements administrative operations on the Spamtrak database.
The following operations are provided:
If you attempt to load a database that already exists, spamtrak-dbop will abort with an error.
This operation should be run daily. (If never run, the score values will be exactly same as the count values.)
spamtak-dbop calculates how long it has been since aging has last been performed, and adjusts the scores accordingly. If aging has already been performed today, the program will exit without doing any aging.
Normally, spamtrak-dbop produces diagnostic messages indicating the work it intends to do and the result. The -q options (quiet mode) suppresses those messages.
The age operation produces a new database, and saves a copy of the old database with a .old suffix.
The database is locked, and thus mail delivery is inhibited, during until the age operation completes. Even with a significant database, this should take more than a few seconds.
spamtrak(1), spamtrak-mssg(1), spamtrak-query(1)
Chip Rosenthal Unicom Systems Development <chip@unicom.com>
$Id: spamtrak-dbop.pl,v 1.1 2002/07/27 00:29:59 chip Exp $