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
  • There are also expressions for mail-addresses which uses format local@domain, *@domain or local@*. Which else expressions do you mean?
  • In the HTTP Proxy, I don't think regular expressions work anymore; "plain text" works just fine.  I don't think the KnowledgBase documentation has kept up with these changes.

    Like I said, I am confused about where regular expressions are used in V7.3+.  From your response, I guess the only place regular expressions are still used is in the 'Expression filter' - correct?

    Thanks - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • In the HTTP Proxy, I don't think regular expressions work anymore; "plain text" works just fine.  


    You can still use regular expressions in the HTTP-Proxy. There were no changes.

    Cheers,

    Sven.
Reply Children