Format for Blocking Email in BoxTrapper

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

After clicking on the BoxTrapper option in cPanel, browse to the "Edit Blacklist" feature. Per it's instructions:

The list should contain one entry per line. Each entry should be formatted as a Perl regular expression.
For example: [email protected] would be john\@example\.com and all addresses at example.com would be .+\@example\.com


Thank you.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
Thanks for the response, I am not familiar with Perl so that would be helpful.

If the is a domain of @sampletest.com and I wanted to block everything that included part of that domain like I wanted to block anything that had as part of its domain "test.com" how would I structure that?
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
I just took a look at the actual blocked emails in my blacklist which were added by BoxTrapper (not me manually) and instead of having "from .+\@test\.com" it has "from @test\.com

So is the ".+\" required because it is not being added by BoxTrapper. I would appreciate your explanation.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
I just took a look at the actual blocked emails in my blacklist which were added by BoxTrapper (not me manually) and instead of having "from .+\@test\.com" it has "from @test\.com

So is the ".+\" required because it is not being added by BoxTrapper. I would appreciate your explanation.
I could not reproduce this behavior using the "Edit Blacklist" option in the BoxTrapper interface. Could you let us know which version of cPanel is installed on your system?

Thank you.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
I have my domain with InMotionHosting.com and I am not sure how to tell what version of cPanel I have but I see something which says "cpanel11" on the screen so if that is not what you are looking for please tell mehow to look up the version. Below is a copy of my blacklist from BoxTrapper if it is helpful (A very few of them I manually added) and the very last one was just added 5 minutes ago by BoxTrapper
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
I removed the list you posted because it's not necessary for this thread. I reccomend consulting with your web hosting provider if you experience issues with your black list. They will be able to check the Exim logs to verify if BoxTrapper is blocking the address. Note that the existing entry should work as expected.

Thank you.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
I removed the list you posted because it's not necessary for this thread. I reccomend consulting with your web hosting provider if you experience issues with your black list. They will be able to check the Exim logs to verify if BoxTrapper is blocking the address. Note that the existing entry should work as expected.

Thank you.
InMotionHosting has not been very helpful on specific problems in the past. They have always told me that the system is not perefect and sometimes things get past.

For this specific issue on the format of the blacklist both you and InMotionHosting have provided the same info but yet the blacklist is not consistent with the format so I would like you to advise.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Open the cPanel main page, and on the left statistics menu, scroll down until you see "cPanel Version". Let us know what version is installed. Note that we are limited in the troubleshooting steps that we can provide because you do not have root access to this system.

Thank you.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
cPanel Version 11.34.2 (build 8)

I understand that you have limits and I will try to understand and in this case the format of a blocked email should be something that someone would think is easily resolved.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
I understand that you have limits and I will try to understand and in this case the format of a blocked email should be something that someone would think is easily resolved.
I don't see a problem with how BoxTrapper formatted the email address you entered. Is it not functioning as you expected?

Thank you.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
I don't see a problem with how BoxTrapper formatted the email address you entered. Is it not functioning as you expected?

Thank you.
I have some issues with BoxTrapper as you can see from my other posts but I don't believe that the issues have to do with BoxTrapper not blacklisting emails. It just seemed to me that everyone is giving me information about the format of the blacklist and it does not appear to coincide with what is actually in the list.

I guess at this point if you don't have a reason for it and do not have the problem with the format, I guess we can consider this a closed issue.
 

neil154

Well-Known Member
Oct 17, 2013
65
0
6
cPanel Access Level
Website Owner
Thanks, I am not familiar with Regex but if I understand correctly that if I put "from \.eu(\>)?$" (without the quotes) into my blacklist it should block all email that ends in .eu (my email host who os absolutely no help requires the "from " in front of all blacklists