FreeBSD Install Guide
From ASSPSMTP
On This Page |
Requirements
- An up-to-date ports tree
- FreeBSD 6.1 or greater
Installation
- Navigate to the assp directory in the ports tree
cd usr/ports/mail/assp
- Install ASSP
make install clean
- Choose the perl modules that you want installed
- Required modules are installed no matter what. Only optional modules are shown.
- The required software dependencies will also be installed
Post Installation
- Enable ASSP on startup
echo 'assp_enable="YES"' >> /etc/rc.conf
- Start ASSP
/usr/local/etc/rc.d/assp start
- Login to the web interface at servername:55555 or serverip:55555
- Read the configuration and documentation sections to find what settings you want to test.
ClamAV Configuration
- Enable ClamAV-clamd daemon on startup
echo 'clamav_clamd_enable="YES"' >> /etc/rc.conf echo 'clamav_clamd_flags=""' >> /etc/rc.conf echo 'clamav_clamd_socket="/var/run/clamav/clamd"' >> /etc/rc.conf
- Enable ClamAV-freshclam daemon on startup
- Change the number 8 to the amount of times per day freshclam should check for updates. Must be between 1 and 50.
echo 'clamav_freshclam_enable="YES"' >> /etc/rc.conf echo 'clamav_freshclam_flags="-d -c 8"' >> /etc/rc.conf
- Start the clamd daemon
/usr/local/etc/rc.d/clamav-clamd start
- Start the freshclam daemon
/usr/local/etc/rc.d/clamav-freshclam start
- Restart ASSP
/usr/local/etc/rc.d/assp restart
- Ensure that ASSP can communicate with the clamd daemon
- Check Maillog.txt, you should see a log entry similar to this one
Feb-21-07 03:35:28 File::Scan::ClamAV module version 1.8 installed and available
Notes
- This guide assumes you are running FreeBSD 6.X


