framebuild.html #2

  • //
  • guest/
  • bryan_costales/
  • docs/
  • framebuild.html
  • View
  • Commits
  • Open Download .zip Download (3 KB)
<html>
<body>
<h2>Build slowmilt</h2>
To build <i>slowmilt</i>, just do the usual:
<p><code><menu>
sh ./configure<br>
make<br>
make test<br>
make install<br>
</menu></code>
<p>
The default installation directory is <i>/etc/mail/milter/slow/</i>. If
you wish to change that default, just add an argument to ./configure
like this:
<p><code><menu>
sh ./configure --with-installdir=/<i>path</i>
</menu></code>
<p>
Here, <code><i>path</i></code> is the full path of the directory where
you wish the milter to be installed. In addition to <i>slowmilt</i>,
the initial files <i>slow.conf</i> and <i>slow.honey</i> are also
installed in that directory. (See <a href="configure.html">configure</a>
for information about how to configure those files.)
<h3>Berkeley DB 4.1 support</h3>
<p>
The <i>slowmilt</i> program requires Berkeley 4.1 database support.
If you do not already have it installed, you may download it from
<a href="http://www.sleepycat.com/">Sleepycat Software</a>. The
<i>slowmilt</i> program expects DB 4.1 to be installed in the path
<i>/usr/local/BerkeleyDB.4.1/</i>. If you have installed it in a different
location, you need to add an argument to ./configure like this:
<p><code><menu>
sh ./configure --with-berkeleydb41=/<i>path</i>
</menu></code>
<p>
Here, <code><i>path</i></code> is the full path of the directory where
the Berkeley DB 4.1 was installed. In addition, <i>slowmilt</i>
expects that you did not build Berkeley DB 4.1 with 
a <code><i>uniquename</i></code> argument. If you did, you will need to
build <i>slowmilt</i> with that same argument:
<p><code><menu>
sh ./configure --with-uniquename=<i>suffix</i>
</menu></code>
<p>
Here, <code><i>suffix</i></code> is the unique suffix you gave when
building Berkeley DB 4.1.
<h3>Debugging</h3>
<p>
The <i>./configure</i> script figures out what compiler to use.
If you wish to have it use <i>gcc</i> with <code>-Wall</code>,
just run <i>./configure</i> like the following:
<p><code><menu>
sh ./configure --with-wall
</menu></code>
<h3>Purify support</h3>
<p>
The <i>slowmilt</i> can be built using <i>purify</i> by
running <i>./configure</i> like this:
<p><code><menu>
sh ./configure --with-purify
</menu></code>
<p>
This will prefix $(CC) with a literal "purify", so the
<i>purify</i> program must be in your path for this
to work.
<h3>Whom To Run As</h3>
<p>
To be done.
<h3>Other Programs</h3>
<p>
In addition to the <i>slowmilt</i> program, one additional program is installed
in <i>/usr/local/bin</i>. That other program is a link to <i>slowmilt</i> and
is called <i>slowedit</i>. This is the command-line interface to <i>slowmilt</i>
and its underlying database.
<p>
<h3>The Next Steps</h3>
After you have run <code>make install</code> and gotten it installed. You next
need to install hooks into <i>sendmail</i> and a boot-time startup script.
These topics are covered in the next two chapters 
<a href="patch.html">Patch Sendmail</a> and
<a href="boot.html">Boot-Time</a>.
</body>
</html>	
# Change User Description Committed
#2 4052 bryan_costales Implimented:
    whitelisting
    AddMXHost for MX servers that lie
    Converted to thread safe DNS routines
    garbage collection
    RunAsUser and RunAsGroup for root startups
    rebuild the database
    summarize by IP number
Finished all documentation.
Moved release from alpha to beta
#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.