From LedHed's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
 
To view the compile options on an existing installation of dspam use this command:
 
To view the compile options on an existing installation of dspam use this command:
  
Line 11: Line 10:
 
'''My Compile Options'''
 
'''My Compile Options'''
  
--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>
+
--enable-debug \<br>
--enable-debug<br>
+
--with-logdir=/var/log/dspam<br>
  
  

Revision as of 00:09, 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
--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