Keyword Blocking

Dear Community Members 

 

Could you please advise if Sophos UTM provides the keyword blocking or filtering for emails?

 

Many Thanks

 

Gohar Dar

  • Hi Gohar and welcome to the UTM Community!

    Yes, see the 'Expression Filter' on the 'Antispam' tab.

    Cheers - Bob

  • In reply to BAlfson:

    Hi Bob

     

    Thanks a lot for your guidance, could you please help to write down a few examples here? Like to block some uncouth email/s.

     

    Many Thanks

     

    Gohar Dar

  • In reply to Gohar:

    Hello Gohar,

     

    1. From the help file:

    The expression filter scans messages' content passing through the SMTP proxy for specific expressions. Suspicious emails will be blocked. Expressions can be entered as Perl Compatible Regular Expressions (with max. 128 characters). Simple strings such as "online dating" are interpreted in a case-insensitive manner. Click Apply to save your settings.

    2. For RexEx I mainly use https://regexr.com/ here you can learn, build and test your RexEx expression.

    3. three examples i have:

    ^[13][a-zA-Z1-9]{25,34}
    ^bc1[a-zA-Z1-9]{23,32}
    invest in park gate

  • In reply to Peter-Paul Gras:

    Hi Peter-Paul

     

    Thanks a lot for your help, this helped me.

     

    I tried to search but i couldn't find the answer if expression filtering is possible to set per SMTP profile?

     

    Many Thanks

     

    Gohar Dar

  • In reply to Gohar:

    Well, yes and no, Gohar.  You can skip 'Expression blocking' in an Exception and base the Exception on the Recipient Addresses that a Profile handles.  It's all or nothing, you can't skip 'Expression blocking' for one expression and not others.

    Cheers - Bob