From LedHed's Wiki
Jump to: navigation, search
Line 33: Line 33:
 
<br>
 
<br>
 
./configure<br>
 
./configure<br>
--sysconfdir=/etc\<br>
+
--sysconfdir=/etc<br>
--enable-daemon\<br>
+
--enable-daemon<br>
--enable-clamav\<br>
+
--enable-clamav<br>
--with-storage-driver=mysql_drv\<br>
+
--with-storage-driver=mysql_drv<br>
--with-mysql-libraries=/usr/lib/mysql\<br>
+
--with-mysql-libraries=/usr/lib/mysql<br>
--with-mysql-includes=/usr/include/mysql\<br>
+
--with-mysql-includes=/usr/include/mysql<br>
--enable-virtual-users\<br>
+
--enable-virtual-users<br>
--enable-preferences-extension\<br>
+
--enable-preferences-extension<br>
--with-logdir=/var/log/dspam/\<br>
+
--with-logdir=/var/log/dspam<br>
 
--enable-debug<br>
 
--enable-debug<br>
 
<br>
 
<br>

Revision as of 21:43, 21 July 2006

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