How to filter all messages containing a word?
I'm trying to create an filter which will track all messages having the word unsubscribe.
I tried first using the normal way with the following criteria
body contains unsubscribe
but when the word unsubscribe is in html the filter doesn't detect it. I though that I have to use a regular expression but I'm no good at this. Can somebody tell me how to create a filter matching *unsubscribe* ?
Thank you in advance
-
Hi, It should filter it too because html codes are not encrypted one to not identify the words. May I know what do you see in the mail that you say has HTML and is not recognizable.. 0 -
Hello, When creating filters, you should use only the words that should be matched. It isn't necessary to include wildcard characters since that is the purpose of the criteria, "contains". Documentation for this feature is available here: Email Filters - Version 64 Documentation - cPanel Documentation 0 -
The following is a random email that can bypass the filter rule body contains unsubscribe
See attached file I couldn't write the code inline Please notice the>Unsubscribe
Any ideas?0 -
Hello, Could you provide a screenshot of the exact filter rule you have enabled from the cPanel UI? Also, could you try using "Unsubscribe" with the quotation marks as the filter term and let us know if that works? Thank you. 0 -
Here is a screenshot. I tried lowercase and uppercase. I tried having one single rule only with the word unsubscribe By the way if I try "Unsubscribe" with quotes when saving the filter it saves it as plain Unsubscribe without quotes. (That is the third row in the filter.) Attached is also the test from Filter Trace Results What I did now is forward the same email message from that account to one of my accounts and then quote and reply back to the account which has this filter enabled. It got filtered finally. I have setup a redirect rule before discarding the message to monitor the filter in the next few days. I will report back 0 -
Hello, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. 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
6 comments