From LedHed's Wiki
Jump to: navigation, search
Line 24: Line 24:
 
'''Down and Dirty Install'''<br>
 
'''Down and Dirty Install'''<br>
 
<nowiki>wget http://dspam.nuclearelephant.com/sources/dspam-3.X.X.tar.gz</nowiki><br>
 
<nowiki>wget http://dspam.nuclearelephant.com/sources/dspam-3.X.X.tar.gz</nowiki><br>
tar -xvzf dspam-3.X.X.tar.gz<br>
+
tar -xvzf dspam-3.X.X.tar.gz
cd dspam-3.X.X<br>
+
cd dspam-3.X.X
 
<br>
 
<br>
./configure \<br>
+
./configure \
--sysconfdir=/etc< \br>
+
--sysconfdir=/etc
--enable-daemon \<br>
+
--enable-daemon \
--enable-clamav \<br>
+
--enable-clamav \
--with-storage-driver=mysql_drv \<br>
+
--with-storage-driver=mysql_drv \
--with-mysql-libraries=/usr/lib/mysql \<br>
+
--with-mysql-libraries=/usr/lib/mysql \
--with-mysql-includes=/usr/include/mysql \<br>
+
--with-mysql-includes=/usr/include/mysql \
--enable-virtual-users \<br>
+
--enable-virtual-users \
--enable-preferences-extension \<br>
+
--enable-preferences-extension \
--enable-debug \<br>
+
--enable-debug \
--with-logdir=/var/log/dspam<br>
+
--with-logdir=/var/log/dspam
 
+
 
<br>
 
<br>
make && make install<br>
+
make && make install
 
<br>
 
<br>
 
Then set File Permissions and edit /etc/dspam.conf as needed<br>
 
Then set File Permissions and edit /etc/dspam.conf as needed<br>

Revision as of 06:28, 27 March 2007

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


make && make install


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