f.html #1

  • //
  • guest/
  • bryan_costales/
  • docs/
  • slowmilt/
  • f.html
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<html>
<b>NAME</b><br>
slowmilt -f
<p>
<b>SYNOPSIS</b><br>
<b>slowmilt</b> -f
<p>
<b>DESCRIPTION</b><br>
When <b>slowmilt</b> first starts to run, it will print an error such as
the following if it cannot find its dabase files, and abort:
<div><menu><code>
slowmilt: Primary database open: /etc/mail/milter/slow/ip.db: No such file or directory
</div></menu></code>
The problem here is that its database files have not yet been created.
<p>
In order to bootstrap <b>slowmilt</b> it needs to be run at least one
time with its <code>-f</code> command-line switch:
<div><menu><code>
% slowmilt -f
</div></menu></code>
Here, the <code>-f</code> command-line switch causes the <b>slowmilt</b> programs
two <a href="../database.html">databases</a> to be created, and for the version
of the database to be writen to it.
The <a href="v.html"><code>-v</code></a> command-line switch can also be used with
cause the success of bootstrapping to be printed:
<div><menu><code>
% slowmilt -f -v<br>
/etc/mail/milter/slow/ip.db: successfully created.<br>
/etc/mail/milter/slow/events.db: successfully created.<br>
slowmilt: succesful insert of version<br>
</div></menu></code>
Note that the <code>-f</code> 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:
<div><menu><code>
su slowuser -c /user/sbin/slowmilt -f<br>
su slowuser -c /user/sbin/slowmilt &amp;<br>
</div></menu></code>
Here, the first line silently bootstraps the system (just in case it has
not already been bootstrapped). The second line uses the shell &amp;
operator to run <b>slowmilt</b> in the background as a daemon.
<p>
</body>
</html>	
# Change User Description Committed
#1 3998 bryan_costales Brought the whole distribution up to V0.9
Added a huge abount of documentation.
Added slowedit find
Created startup scripts to launch for testing
Fixed numerous bugs.
Fixed a few portablity issues.
Installed hooks for whitelisting and IP aliases.