Quantcast
Channel: Mercury Community Support
Viewing all articles
Browse latest Browse all 272

Expression filter question

$
0
0
I  have seen some mail coming in as replies to messages sent by my users that got tagged as spam ('[SPAM]' added to the subject line) by the recipient but they left the spam tag in the subject line.  My mail host uses spamassassin to do the same thing which I filter on using a header filter that looks for [SPAM] in the subject header.  Obviously these replies are getting filtered so I attempted a workaround that failed and I need help figuring out why.  I replaced the header filter with an expression filter that detected: Subject: [SPAM]*.  It failed to detect any [SPAM] tagged messages.  I double checked for typos and spacing but no joy.  A look at the manual shows the bracket symbols as defining a set of characters so before I load the users mailboxes with spam again I thought I would ask for some help.  I am thinking this should work: Subject: [[]SPAM[]]*.  Thoughts please.

Viewing all articles
Browse latest Browse all 272

Trending Articles