To install MailScanner and the MailScanner Front-End for the first
time on a server, or to re-install the basic parts of the MailScanner
package you can do the following steps. Be sure to carefully follow all
the instructions given for each step.
1. Install MailScanner: http://www.configserver.com/free/mailscanner.html
2. Install/configure Razor and DCC. Run these commands in ssh as root:
tar -xzf dcc-dccproc*
replace 'DCCM_LOGDIR="log"' 'DCCM_LOGDIR=""' -- /var/dcc/dcc_conf
cdcc 'info -N'
Note that only two of the razor-admin commands will work on your server; they are each for different versions of perl. Don't worry about error messages from the other four commands.
Ensure that the following ports are open in any software or hardware firewalls:
DCC - out-bound UDP port 6277
DCC - out-bound TCP port 587 (for reporting spam)
Razor - out-bound TCP port 2703
3. Add the following cron job to the root crontab:
10 0 * * * /usr/mscpanel/mscpanel.pl > /dev/null 2>&1
4. If you have purchased the MailScanner Front-End
, you can install it following the instructions here: http://www.configserver.com/cp/msfeinstaller.html
Note: If you have moved to a new server since purchasing the
MailScanner Front-End, or your server IP address has changed, you should
change your licensed IP address here before trying to install MSFE on the new server or IP address:http://license.configserver.com/cgi-bin/modify.cgi
5. Go to WHM > ConfigServer MailScanner FE > MailScanner Configuration and make the following changes:
a. Set "Virus Scanners = " to "clamd" if you have installed clamav
and wish to use the clamd daemon (recommended) with MailScanner.
b. Search for "Clamd Socket = ". Make sure that value is set to "/var/clamd" and NOT "/tmp/clamd.socket".
c. You may also wish to set "Spam List = " to an empty field if you are using the RBL blocking in exim (see step 6 below).
d. Set the "%org-name%", "%org-long-name%", and "%web-site%" to your
desired settings. Make sure the %org-name% includes ONLY alphanumeric
characters, that is, only letters and numbers, no symbols such as _ or -
or even a .
e. Click "Change" at the bottom once you've made all the above changes.
6. Modify the WHM Exim Configuration Settings as recommended here
If you would like us to do a complete reinstallation of the MailScanner package for you, please contact us for information at email@example.com