Block an email domain using BoxTrapper?

Selgovae

Registered
Oct 28, 2018
4
1
3
Blackpool
cPanel Access Level
Website Owner
I am trying to block these TLDs but I'm not sure how to use Perl.
Are these correct?

@biz.ua = from .+\@biz\.ua
@com.ua = from .+\@com\.ua
@co.ua = from .+\@co\.ua

All help and guidance will be gratefully received.
Best regards,
Selgovae
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @Selgovae,

Yes, the following examples should work based on the information you provided:

Code:
from .+\@biz\.ua
from .+\@com\.ua
from .+\@co\.ua
Let us know if it doesn't work as intended.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @Selgovae,

There are some user-submitted regular expression examples on the following thread that you may find helpful:

Need to filter ALL email

For instance, one you could try is:

Code:
from .+@.+\\\\.biz.ua[^.a-zA-Z0-9_]
Thank you.