Removing ASSP X

If you want to uninstall ASSP X, run the following in order from the command line on the server:
/bin/rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_asspx.cgi
/bin/rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/asspxversion.txt
/bin/rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/asspx/
/bin/rm -fv /usr/local/cpanel/3rdparty/asspx
/bin/rm -fv /etc/cron.d/assp
/etc/init.d/crond reload
/etc/init.d/assp stop
/bin/rm -fv /etc/init.d/assp
/bin/rm -Rfv /usr/local/assp
/bin/rm -Rfv /usr/local/asspx
/bin/rm -Rfv /etc/chkserv.d/assp*

For cPanel 11 unregister ASSP X plugin:
/usr/local/cpanel/bin/unregister_cpanelplugin /usr/local/cpanel/bin/asspx.cpanelplugin;
/bin/rm -fv /usr/local/cpanel/bin/asspx.cpanelplugin;

Also make sure ‘local_interfaces’ & daemon_smtp_ports variables at exim.conf removed and SpamAssassin/Boxtrapper installed if needed.
When you have Exim ports changed back, execute (ignore not found errors if any):
replace '[exim]=125' '[exim]=25' -- /etc/chkserv.d/exim
/etc/init.d/chkservd restart
replace 'socket_port=125' 'socket_port=25' -- /usr/local/sim/modules/init/exim.mod
replace 'SMTPPORT = 125' '' -- /usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py

Remove line “/usr/local/assp/scripts/assppostupcp” from /scripts/postupcp
vim /scripts/postupcp
Finally execute cPanel update to clean up all ASSP changes:
/scripts/upcp --force
Done.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.