Skip to main content

Words in body are not filtered

Comments

5 comments

  • rlerner
    Having same problem. I tried copy/pasting the offending line of text just after the body tag and the filter recognized it. [In my case] the issue seems to be the filter not scanning through to the end of a 9,000+ character email where it would find the offending text and intercept delivery. Suggest you try pasting Buzz B-GONE into the test filter box after the tag and see if you get same result. I also tried increasing the SA scan size limit in WHM above the default 1MB but no joy.
    0
  • cPanelLauren
    Unless you use regex to specify the filter is case sensitive. You're telling it to filter if it contains BUZZ B-GONE but the email has Buzz B-Gone, but why it's not picking up the Coves Suite 766 I'm unsure without seeing the actual filter.
    0
  • rlerner
    Unless you use regex to specify the filter is case sensitive. You're telling it to filter if it contains BUZZ B-GONE but the email has Buzz B-Gone, but why it's not picking up the Coves Suite 766 I'm unsure without seeing the actual filter.

    Having same/similar issue, but in this case the problem seems to be that the key words for the filter don't get picked up if they are at the end of the email. When I use Test Filter on with spam that ends with: Click here.or send post-mail To 118 Second Ave. New York, NY 10118 Condition is false: $message_body contains send post-mail To Filtering did not set up a significant delivery. Normal delivery will occur. If I copy/paste that end line from the spam, and place it directly under the tag in the test filter block: Condition is true: $message_body contains send post-mail To Save message to: /dev/null 0660 Filtering set up at least one significant delivery or other action. No other deliveries will occur. It's not a case-sensitive issue. Seems like the scan does not go all the way through the email. The spam was just over 9,000 characters and my SA limit is 1,000kb should be more than enough.
    0
  • cPanelLauren
    The character limit that exim will reach for scanning emails for filter content is set to 5000 by default on cPanel servers. You can change this by going to cPanel>>Service Configuration>>Exim Configuration Manager -> Advanced Editor and edit the message_body_visible
    setting
    0
  • rlerner
    Changed message_body_visible setting under cPanel>>Service Configuration>>Exim Configuration Manager -> Advanced Editor. This solution fixed the issue. Thank you very much!
    0

Please sign in to leave a comment.