From LedHed's Wiki
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 | + | tar -xvzf dspam-3.X.X.tar.gz |
− | cd dspam-3.X.X | + | cd dspam-3.X.X |
<br> | <br> | ||
− | ./configure \ | + | ./configure \ |
− | --sysconfdir=/etc | + | --sysconfdir=/etc |
− | --enable-daemon \ | + | --enable-daemon \ |
− | --enable-clamav \ | + | --enable-clamav \ |
− | --with-storage-driver=mysql_drv \ | + | --with-storage-driver=mysql_drv \ |
− | --with-mysql-libraries=/usr/lib/mysql \ | + | --with-mysql-libraries=/usr/lib/mysql \ |
− | --with-mysql-includes=/usr/include/mysql \ | + | --with-mysql-includes=/usr/include/mysql \ |
− | --enable-virtual-users \ | + | --enable-virtual-users \ |
− | --enable-preferences-extension \ | + | --enable-preferences-extension \ |
− | --enable-debug \ | + | --enable-debug \ |
− | --with-logdir=/var/log/dspam | + | --with-logdir=/var/log/dspam |
− | + | ||
<br> | <br> | ||
− | make && make install | + | 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