Boxtrapper Whitelist - How to match partial subject?
Howdy!
For whitelisting in boxtrapper, is there a way to match a partial subject? I need to match just the beginning of a subject line.
A typical subject line looks like this:
[Webstore] Order # 1234
So I need to whitelist just the beginning, like this:
[Webstore] Order #
I have tried adding + at the end, but that does not work.
Is a partial match like this possible? If so, how do I do it? Thank you!
-
Hey there! You sure can! Here's the rules for the whitelists on that page: "The list should contain one entry per line. Each entry should be formatted as a Perl regular expression. For example: john@example.com would be john\@example\.com and all addresses at example.com would be ".+\@example\.com" (without the quotation marks)" Can you try that and see if that works for you? 0 -
Thank you. I have seen that, but it only addresses e-mail addresses. I am trying to whitelist according the beginning of a partial subject. Are you suggesting the entry should be: [QUOTE]from [Webstore] Order # .+
??? Thank you.0 -
Yes, I'd expect that to work on subjects as well. If not, let me know! 0 -
[QUOTE]subject [Webstore] Order #.+
Did not work. Still got caught in the boxtrapper.0 -
Let me play around with this on my end and I'll update you soon! 0 -
I setup the whitelist to use the following value: subject \[Webstore\] Order \#
and that got things up to the point before the order number itself. The rest would depend on how many characters are in your order number. For example, if you have 4-digit order numbers, you'd want to do something like this:subject \[Webstore\] Order \#[0-9][0-9][0-9][0-9]
Can you try that and see if that gets things working how you expect?0 -
Rockin! That worked. Thank you! Maybe I was having trouble because I hadn't escaped the brackets and hashtag? It also appears to work with "placed by John Smith" after the order number. Any idea why it still works? 0 -
Ah - add a $ to the end to stop the pattern match sequence - then it won't let through anything after the digits. 0 -
Thank you. I have another problem now. These messages are still getting stuck in boxtrapper because the FROM and TO are the same: [QUOTE]Queuing possibly forged email from self ye****@i****.org/[Webstore] Order #1679 placed by John Smith
I can't change the FROM address. Any help will be appreciated. Thanks!0 -
My first recommendation would be to change the "from" address on those messages, but you've said that isn't an option. So...my second recommendation would be to add another whitelist entry to exclude that check, although that does potentially open up the one email account to more spoof-type messages that may be sent "from" the same address. It's a small risk, but it's technically there. 0 -
So passing one whitelist rule does not overcome the possibly forged email rule. Got it. Okay, thanks for your help! 0 -
You're welcome! 0 -
My son showed me trick matching start of Subject that is use a ^ caret. Like this
subject ^QUOT this matches ONLY starting with 'QUOT' "QUOTATION #123" "QUOTED yesterday" etc
subject QUOT (without the precede ^) it matches 'QUOT' ANYWHERE in subject line i.e. "My QUOTE to you"
Hope this helps
0
Please sign in to leave a comment.
Comments
13 comments