DSpam site: http://dspam.nuclearelephant.com
To view the compile options on an existing installation of dspam use this command:
dspam --version
My Compile Options
--sysconfdir=/etc\
--enable-daemon\
--enable-clamav\
--with-storage-driver=mysql_drv\
--with-mysql-libraries=/usr/lib/mysql\
--with-mysql-includes=/usr/include/mysql\
--enable-virtual-users\
--enable-preferences-extension\
--with-logdir=/var/log/dspam/\
--enable-debug
Down and Dirty Install
wget http://dspam.nuclearelephant.com/sources/dspam-3.X.X.tar.gz
tar -xvzf dspam-3.X.X.tar.gz
cd dspam-3.X.X
./configure
--sysconfdir=/etc\
--enable-daemon\
--enable-clamav\
--with-storage-driver=mysql_drv\
--with-mysql-libraries=/usr/lib/mysql\
--with-mysql-includes=/usr/include/mysql\
--enable-virtual-users\
--enable-preferences-extension\
--with-logdir=/var/log/dspam/\
--enable-debug
make && make install
Then set File Permissions and edit /etc/dspam.conf as needed