d-woo

Well-Known Member
Aug 9, 2003
88
0
156
My objective is to be able to prevent anyone on my server from using Box Trapper. I have this under control now, but my concern is that after the next upgrade someone might enable Box Trapper via cPanel or webmail.

MY TEST
I enabled Box Trapper on two test accounts in a domain on my server via cPanel>>Mail>>Box Trapper Spam Trap

Going to WHM>>Tweak Settings I then unchecked Box Trapper.

Granted I was not able to access Box Trapper any longer via cPanel or the webmail interface, Box Trapper was still "enabled" for these two accounts because after going back to check the switch under WHM>>Tweak Settings then going into cPanel>>Mail>>Box Trapper it showed that they were still enabled.

MY QUESTION
For future reference, is there a quick check that I can do to see what email accounts or domains have Box Trapper enabled?
 

z268

Member
Nov 15, 2006
11
0
151
My objective is to be able to prevent anyone on my server from using Box Trapper.
I find Box Trapper useful for controlling spam.
Why do u want to remove?
 

d-woo

Well-Known Member
Aug 9, 2003
88
0
156
I felt the same way as you do, in that Box Trapper stopped the SPAM...

but, the method that it uses is not the best way to handle spam.

Your server actually sends an autoresponse email...to whom? is the question.

Are you actually sending email back to the spammer or are you sending it to the "false" address that he gives.

Your server can actually get blacklisted as sending spam.

http://forums.cpanel.net/showthread.php?t=42778
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
What I did was in SSH run locate boxtrapper. Each domain that had boxtrapper enabled had lines like these:
/home/USERNAME/etc/DOMAIN.COM/EMAILNAME/boxtrapper/log/07-22-2005.log
/home/USERNAME/etc/DOMAIN.COM/EMAILNAME/boxtrapper/white-list.txt
This way I knew which domains I needed to enter their control panel to disable it.

Second, I went into cPanel for each domain that had boxtrapper enabled and disabled boxtrapper for the email addresses that had it enabled.

After they all were disabled, I entered WHM and edited the feature list by unchecking BoxTrapper Spam Trap for each feature list.

Last step was in WHM - Tweak Settings unchecking BoxTrapper Spam Trap.

By following these steps it has been shut off since 10/25/06. Hopefully there will be no updates that will turn on both required settings at the same time! I think the feature list settings would be safe, but I keep watching.

Hope this helps,
Ron
 

d-woo

Well-Known Member
Aug 9, 2003
88
0
156
Thank you.

This was most helpful.

There was one domain that had

/home/USERNAME/etc/DOMAIN.COM/EMAILNAME/boxtrapper/white-list.txt

When I checked the domain in their cPanel>>Mail>>Box Trapper there were no email accounts that were enabled.

I thought this was strange.
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
Having the whitelist.txt file just means they either had boxtrapper running, or they were browsing the options and added email addresses into the whitelist option thinking they were needed without actually activating boxtrapper.

If I remember correctly, there was an option to "auto" whitelist people that you send email to, but I'm not sure. That could explain the whitelist.txt file being there.

Glad to know that this helped,
Ron
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
UPDATE - 10.9.0-RELEASE_76
Boxtrapper is back, but not under "Mail", now it has it's own icon in controlpanel near the bottom of the page. This is there even though boxtrapper was eliminated in WHM Tweaks and Features.

Well, back to finding another way to remove it (again),
Ron
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
Temporary fix for the cpanelpro boxtrapper (grey boxtrapper icon in cpanel):

In /usr/local/cpanel/base/frontend/x/cpanelpro
(check bluelagoon or any other theme you use in addition to "x")
locate boxtrapper.html
Edit it to whatever you want. This will give your page instead of the boxtrapper options. This may get overwritten again, I'm not sure, but this puts a patch on boxtrapper from the controlpanel for now.

Ron