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

Expression filter: Block "[SPAM ?]" in mail's subject

Hi!

Our upstream Mailserver (POP3) does some spam-filtering. Mails considered SPAM are tagged with [SPAM ?] in the subject-line.
For some reason our ASG frequently fails to detect this spam. So it would be nice just to filter for the expression "[SPAM ?]" in the subject.
Unfortunately I can't seem to get it right. I suppose I need to somehow escape the parenthesis "[]" as well as the question-mark "?"?

I would be very glad if someone could give me a hint here...

Thanx!


This thread was automatically locked due to age.
Parents
  • The expression filter uses regular expressions. In order to match "[SPAM ?]" you have to enter "[SPAM \?]".
  • Frickler, this is a little confusing.  I know there are places in V7.3+ where regular expressions no longer work.  In which places do they still work other than the 'Anti-Spam' 'Expression filter'?

    Thanks - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Frickler, this is a little confusing.  I know there are places in V7.3+ where regular expressions no longer work.  In which places do they still work other than the 'Anti-Spam' 'Expression filter'?

    Thanks - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children