Build slowmilt

To build slowmilt, just do the usual:

sh ./configure
make
make test
make install

The default installation directory is /etc/mail/milter/slow/. If you wish to change that default, just add an argument to ./configure like this:

sh ./configure --with-installdir=/path

Here, path is the full path of the directory where you wish the milter to be installed. In addition to slowmilt, the initial files slow.conf and slow.honey are also installed in that directory. (See configure for information about how to configure those files.)

Berkeley DB 4.1 support

The slowmilt program requires Berkeley 4.1 database support. If you do not already have it installed, you may download it from Sleepycat Software. The slowmilt program expects DB 4.1 to be installed in the path /usr/local/BerkeleyDB.4.1/. If you have installed it in a different location, you need to add an argument to ./configure like this:

sh ./configure --with-berkeleydb41=/path

Here, path is the full path of the directory where the Berkeley DB 4.1 was installed. In addition, slowmilt expects that you did not build Berkeley DB 4.1 with a uniquename argument. If you did, you will need to build slowmilt with that same argument:

sh ./configure --with-uniquename=suffix

Here, suffix is the unique suffix you gave when building Berkeley DB 4.1.

Debugging

The ./configure script figures out what compiler to use. If you wish to have it use gcc with -Wall, just run ./configure like the following:

sh ./configure --with-wall

Purify support

The slowmilt can be built using purify by running ./configure like this:

sh ./configure --with-purify

This will prefix $(CC) with a literal "purify", so the purify program must be in your path for this to work.

Whom To Run As

To be done.

Other Programs

In addition to the slowmilt program, one additional program is installed in /usr/local/bin. That other program is a link to slowmilt and is called slowedit. This is the command-line interface to slowmilt and its underlying database.

The Next Steps

After you have run make install and gotten it installed. You next need to install hooks into sendmail and a boot-time startup script. These topics are covered in the next two chapters Patch Sendmail and Boot-Time.