From LedHed's Wiki
Jump to: navigation, search
Line 27: Line 27:
 
cd dspam-3.X.X<br>
 
cd dspam-3.X.X<br>
 
<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>
 +
--enable-debug \<br>
 
--with-logdir=/var/log/dspam<br>
 
--with-logdir=/var/log/dspam<br>
--enable-debug<br>
+
 
 
<br>
 
<br>
 
make && make install<br>
 
make && make install<br>

Revision as of 00:10, 30 July 2006

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 \
--enable-debug \
--with-logdir=/var/log/dspam


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< \br> --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 \
--enable-debug \
--with-logdir=/var/log/dspam


make && make install

Then set File Permissions and edit /etc/dspam.conf as needed