Utterly Boring dot com

Completely Removing BoxTrapper In cPanel

This is one of those things I just didn't want to lose in case I need it again, but basically, if you have a cPanel server and you're not using BoxTrapper (which you really shouldn't, as it can cause your server to get blacklisted unnecessarily), follow these directions to get rid of it:

The first step is to modify /etc/exim.conf to remove the boxtrapper sections (there's around 4 or 5 IIRC), and then run:

rm -rf /var/cpanel/version/boxtrapper
/scripts/eximup --force
/scripts/mailscannerupdate

rm -rfv /home/*/etc/.boxtrapp*
rm -rfv /home/*/etc/.boxtrapp*
rm -rfv /home/*/etc/*/.boxtrapp*
rm -rfv /home/*/etc/*/*/boxtrapp*

Also of note, I didn't delete the boxtrapper sections out of exim.conf. Commenting them out seems to do the trick.

I was having trouble with some e-mail getting sent via my SMTP server, so I'm hoping that fixes the issue (it didn't get bounced this time at least).

Posted by Jake on 04/25/06 @ 02:53 PM
Posted in Geekdom, Jake | 2 Comments | Permalink
Submit to digg, del.icio.us, reddit, or stumbleupon

2 Comments

Richy C. said on 04/25/06 @ 03:32 PM:
Whooow! I got onto Jake's blog (admittedly indirectly!)

Jake said on 04/25/06 @ 03:34 PM:
Hehe...small world, Richy -- thanks for your post, otherwise I'd be beating this server up even more than usual :-)

Post a comment












HTML Allowed: a href, b, br, p, strong, em, ul, li, blockquote




Note: There is currently a problem with special characters causing errors when you try to comment, so if you're copying information from another Web site that has smart quotes or em dashes or ellipses or similar, please remove them and manually type them out.

Comment Policy: Comments on older entries or comments containing a bunch of links are moderated automatically on this site to help fight comment spam. If you don't see your comment after submitting, it will appear on the site after it has been approved. We also reserve the right to remove your comment for any reason we see fit, but if you keep it remotely on topic, it'll stay.

What are you doing down here? Don't you have something better to do? Like Go Back To The Top of the page, or even see who created this site? This site is © 2001 - 2008 by the Utterly Boring folks at UtterlyBoring.com. Steal my content, as I probably did, too, just link to my site or the original site. Batteries not included. One size fits all. Not for off-road use. Not for internal use. Do not taunt Happy Fun Ball. Technorati Profile.