NAME
slowmilt -f

SYNOPSIS
slowmilt -f

DESCRIPTION
When slowmilt first starts to run, it will print an error such as the following if it cannot find its dabase files, and abort:

slowmilt: Primary database open: /etc/mail/milter/slow/ip.db: No such file or directory
The problem here is that its database files have not yet been created.

In order to bootstrap slowmilt it needs to be run at least one time with its -f command-line switch:

% slowmilt -f
Here, the -f command-line switch causes the slowmilt programs two databases to be created, and for the version of the database to be writen to it. The -v command-line switch can also be used with cause the success of bootstrapping to be printed:
% slowmilt -f -v
/etc/mail/milter/slow/ip.db: successfully created.
/etc/mail/milter/slow/events.db: successfully created.
slowmilt: succesful insert of version
Note that the -f command-line switch has intentionally been made idempotent. That is, it may be used successfully even if the database has already been created. That way, a startup script does not need to know if this is a bootstrap situation or not. For example:
su slowuser -c /user/sbin/slowmilt -f
su slowuser -c /user/sbin/slowmilt &
Here, the first line silently bootstraps the system (just in case it has not already been bootstrapped). The second line uses the shell & operator to run slowmilt in the background as a daemon.