MT6 dspam
Jump to navigation
Jump to search
NOTE
Dspam is not currently functional. Work remains to get it working. Skip this for now.
Install dspam
jailmanage dspam pkg install mysql56-client dspam
configure dspam
cp /usr/local/etc/dspam.conf.sample /usr/local/etc/dspam.conf sed -i .bak -e 's/^#ServerPID/ServerPID/' /usr/local/etc/dspam.conf echo 'dspam_enable="YES"' >> /etc/rc.conf service dspam restart
configure dspam to use MySQL
Note: replace the password with the one you noted during the MySQL install.
sed -i .bak -e 's/libpgsql_drv.so$/libmysql_drv.so/' /usr/local/etc/dspam.conf tee -a /usr/local/etc/dspam.conf <<EO_MYSQL MySQLServer 127.0.0.4 MySQLUser dspam MySQLPass CHANGE.THIS MySQLDb dspam EO_MYSQL service dspam restart
Other Information About dspam
dspam-devel install
The stable version of dspam is very old, so if you can get dspam-devel installed, it's recommended to do so:
cd /usr/ports/mail/dspam-devel && make install clean cp /usr/local/etc/dspam.conf.sample /usr/local/etc/dspam.conf sed -i .bak -e 's/^#ServerPID/ServerPID/' /usr/local/etc/dspam.conf echo 'dspam-devel="YES"' >> /etc/rc.conf service dspam-devel restart