Skip to main content

How to filter all messages containing a word?

Comments

6 comments

  • 24x7server
    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
  • cPanelJasonT
    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
  • EneTar
    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
  • cPanelMichael
    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
  • EneTar
    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
  • cPanelMichael
    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.