<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <link rel="SHORTCUT ICON" href="images/slowsign.gif"> <link type="text/css" rel="stylesheet" href="all.css"> <title>Build Slowmilt</title> </head> <body> <div align="center"> <table border="0" cellpadding="5" cellspacing="3" class="main" width="100%"> <tr> <td colspan="2"align="left" class="banner" height="75" valign="top"> <table align="center" width="100%"> <tr> <td align="left"> <a href="http://www.bcx.com/"><img border="0" src="images/slowtitle.jpg" alt="logo"></a> </td> <td align="right"> </td> </tr> </table> </td> </tr> <tr> <td width="140" valign="top"class="bg"> <div align="center"> <center> <table border="0" cellpadding="3" cellspacing="3" width="150"> <tr> <td align="left"> <img border="0" src="images/slowlarge.jpg" alt="slow sign" width="140" vspace="5"> <p> <h3><font color="#0033CC">Site Navigation</font></h3> <menu> <a href="index.html">Home</a><br> <a href="buildmilter.html">Build</a><br> <a href="patch.html">Patch</a><br> <a href="configure.html">Edit slow.conf</a><br> <a href="boot.html">Boot-time</a><br> <a href="mxserver.html">MX Servers</a><br> <a href="lookup.html">Lookups</a><br> </menu> </td> </tr> </table> </center> </div> </td> <td width="80%" align="left" valign="top" class="bg"> <h1>Build slowmilt</h1> To build <i>slowmilt</i>, just do the usual: <p><code><ul> sh ./configure<br> make<br> make test<br> make install<br> </ul></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><ul> sh ./configure --with-installdir=/<i>path</i> </ul></code> <p> Here, <code><i>path</i></code> is the full path of the directory where you wish the milter to be installed. In addtion 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.) <h2>Berkeley DB 4.1 support</h2> <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 intstalled it in a different location, you need to add an argument to ./configure like this: <p><code><ul> sh ./configure --with-berkeleydb41=/<i>path</i> </ul></code> <p> Here, <code><i>path</i></code> is the full path of the directory where the Berkeley DB 4.1 was installed. In addtion, <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><ul> sh ./configure --with-uniquename=<i>suffix</i> </ul></code> <p> Here, <code><i>suffix</i></code> is the unique suffix you gave when building Berkeley DB 4.1. <h2>Debugging</h2> <p> The <i>./configure</i> script figures out what compiler to use. If you wish to for it to use <i>gcc</i> with <code>-Wall</code>, just run <i>./configure</i> like the following: <p><code><ul> sh ./configure --with-wall </ul></code> <h2>Purify support</h2> <p> The <i>slowmilt</i> can be built using <i>purify</i> by running <i>./configure</i> like this: <p><code><ul> sh ./configure --with-purify </ul></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. <h2>Whom To Run As</h2> <p> To be done. <h2>Other Programs</h2> <p> In addition to the <i>slowmilt</i> program, one addtional 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> <h2>The Next Steps</h2> 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>. <br> <br> <i><small> © 2003 Bryan Costales and Perforce, Inc. All rights reserved.<br> </small></i> </td> </tr> </table> </div> </body> </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 3957 | bryan_costales |
Added rbl lookup support and testing for same. Folded in support for smfi_stop(). Added lots of slowedit commands Fixed a serious bug in MX lookups. Added to documentation. |
||
#1 | 3890 | bryan_costales |
This is the 0.6 release. The following have been added with the uses indicated: Source files: edit.c -- the slowedit functions compat.c -- missing system files Autoconf: configure.ac, makefile.am config.h aclocal.m4 acinclude.m4 build/ Documents: doc/ -- html and man(1) documents Testing: tests/ -- regressive testing TODO: -- revised to show actual progress |