Mailscanner uninstallation

 


To uninstall mailscanner go to console and execute

# wget http://www.configserver.com/free/msinstall.tar.gz
# tar -xzf msinstall.tar.gz;cd msinstall/;sh uninstall.sh
# rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_mailscanner.cgi


now  execute
 

# pico /scripts/postupcp

and remove all mailscanner lines .

now execute

# crontab -e

 
and remove mailscanner cron lines

Now open WHM > packages > feature manager > Edit a Feature List
and remove "mailscanner" from each feature list


Since mailscanner installs a custom clamd on /usr/local/sbin/clamd /usr/local/etc/clamd.conf
while ASSP uses the clamd installed by WHM you should follow this ;

1) install clamd using WHM > cpanel > manage plugins
2) once installed execute this
 

# rm -f /usr/local/sbin/clamd
# ln -s /usr/sbin/clamd /usr/local/sbin/clamd
# rm -f /usr/local/etc/clamd.conf
# ln -s /etc/clamd.conf /usr/local/etc/clamd.conf


Now restart exim

# /etc/init.d/exim restart


it should restart correctly . You can return to HOW TO and continue the ASSP installation.