BoxTrapper: Pattern for catching all sub-domains
Hi,
I'm having trouble coming up with a pattern to catch all mail from a domain and its sub-domains.
I tried:
.+\@(.+\.)?example\.com
But it doesn't appear to work because I see individual subdomain addresses being added to the white list.
If my pattern is incorrect, would someone be kind enough to provide me one that works?
Thanks,
E.
-
Hello :) Have you tried adding a separate rule for each individual subdomain that's added to your account? Thank you. 0 -
Hi, Yes, one rule per sub-domain works fine but one rule for all subdomains isn't working... at least not with the expression above. Thanks, E. 0 -
You may want to try a website such as StackOverflow for questions about specific custom regular expressions. Thank you. 0 -
I am fairly comfortable coming up the expressions but my concern is whether or not boxtrapper supports regex groups. When I asked for a working pattern, it was a subtle way of asking why my seemingly correct pattern isn't functioning. It's either not recognizing the "(.+\.)", the "?" that follows or a bug exists that prevents the expression from working. Since boxtrapper appears to be exclusive to cPanel, I figured this is the most official place to ask -- was I wrong in assuming that? 0 -
Internal case FB-61350 is open to address an issue where BoxTrapper fails to correctly save regular expressions in "from" and "to" context. Could you open a support ticket using the link in my signature so we can verify if your issue is related to this case? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments