This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Puremessage Offensive Language Block Exceptions?

We work in a school and have offensive language turned on. the word        cu**ng       with the     mi     replacing the stars gets blocked. Great. Apart from we have a supplier called      dave cu**ng associates    so how do we block the original word but let through things to the associates in? or with their name in the message?

I've tried having a go with regular expressions but I just can't see a way to exclude a word if it's surrounded by other good words making the phrase ok even if the word is wrong. I have to say the documentation on this part of the product is wofully inadequate. Is it possible? If not can we have it? Is there a different way to do it?

J

:24427


This thread was automatically locked due to age.
Parents
  • Hi,

    The type of regex recipe required to allow something like this is tricky since you need to have an expression that has to handle substrings.

    You'd need to construct something that looks for words that don't match "Dave" or "Associates" around the offending word, which means the syntax would work to find a postive hit for NOT DAVE and OFFENDING WORD and NOT ASSOCIATES -- anything that matches could then be quarantined.

    You can review the documentation on the regex library that PureMessage for Exchange relies on here: http://www.boost.org/doc/libs/1_49_0/libs/regex/doc/html/boost_regex/syntax.html If you are using a different version of PureMessage (either Unix or Domino), the regex should be similar enough since they're all somewhat dependent upon on Perl.

    However, the easist solution may be to remove that regex entry. If "Dave" or "Associates" were on separate lines, then the regex would have to further enhanced to detect anything other than what's a space away. As well, there's no way within PureMessage for Exchange to allow certain "regex" through and if exceptions are required, it's only at the recipient level, not the sender. The default list of offensive words that is provided with PureMessage for Exchange is only a suggested list; there may be entries that need to be removed or added depending on organizational requirements.

    Please note that creating and troubleshooting regex falls into "best efforts" for Sophos Support; if you need a proper custom solution for your organization, our Professional Services team can be booked to assist in building a solution suited for your needs.

    :24581
Reply
  • Hi,

    The type of regex recipe required to allow something like this is tricky since you need to have an expression that has to handle substrings.

    You'd need to construct something that looks for words that don't match "Dave" or "Associates" around the offending word, which means the syntax would work to find a postive hit for NOT DAVE and OFFENDING WORD and NOT ASSOCIATES -- anything that matches could then be quarantined.

    You can review the documentation on the regex library that PureMessage for Exchange relies on here: http://www.boost.org/doc/libs/1_49_0/libs/regex/doc/html/boost_regex/syntax.html If you are using a different version of PureMessage (either Unix or Domino), the regex should be similar enough since they're all somewhat dependent upon on Perl.

    However, the easist solution may be to remove that regex entry. If "Dave" or "Associates" were on separate lines, then the regex would have to further enhanced to detect anything other than what's a space away. As well, there's no way within PureMessage for Exchange to allow certain "regex" through and if exceptions are required, it's only at the recipient level, not the sender. The default list of offensive words that is provided with PureMessage for Exchange is only a suggested list; there may be entries that need to be removed or added depending on organizational requirements.

    Please note that creating and troubleshooting regex falls into "best efforts" for Sophos Support; if you need a proper custom solution for your organization, our Professional Services team can be booked to assist in building a solution suited for your needs.

    :24581
Children
No Data