Skip to main content

Having trouble with account-level filters and regex

Comments

4 comments

  • cPanelMichael
    Hello :) Have you tried simply using the word "unsubscribe" instead of a regex to see if that helps block some of the messages? Thank you.
    0
  • foxyfish
    Yes but the problem is most are seperated by dots and dashes to try and evade. example unsubsc.ribe un-sub-scribe etc.. Also i wasnted it to be wild and case-insensitive so that xxUnSuBsCrIbExx would still be found.. hence the regex way. My hoster is still looking into it for me, they have increased the 'message_body_visible' value to 50000 due to the spam i am getting being so long and hefty and the unsubscribe being so low in the body, but it still seems to be failing. Also my other filters seem to not be working too. I have a FROM contains filter set to *vitale* but when i test it in the tester i set the from address as vitaleaddress@ test.com it still fails? what could be going on?? Thanks for our reply.
    0
  • foxyfish
    I've got it fixed i think. But what is the correct regex for matching a whole sentence?
    0
  • cPanelMichael
    You may want to try a website such as StackOverflow for questions about specific custom regular expressions. For instance, here is one example: [url=http://stackoverflow.com/questions/8816914/regex-to-filter-sentences-based-on-word-length]regex to filter sentences based on word length - Stack Overflow Thank you.
    0

Please sign in to leave a comment.