at the end of the header line should be the data that got caught....what does it show? Let's see the line from the header
 
Eric
----- Original Message -----
Sent: Monday, February 07, 2005 3:36 PM
Subject: Re: [IMail Forum] IMail filtering on non-existent value

That's what it looks like in the email header after IMail processes the email.
 
----- Original Message -----
Sent: Monday, February 07, 2005 15:08
Subject: Re: [IMail Forum] IMail filtering on non-existent value

It should look like this in the file:
 
S~\[SPAM\]:[EMAIL PROTECTED]
 
and this isn't working?
----- Original Message -----
Sent: Monday, February 07, 2005 2:47 PM
Subject: Re: [IMail Forum] IMail filtering on non-existent value

Spoke too soon.  'if the subject contains \[SPAM\] forward to.....' is not working.  I tried it with the \ outside the brackets, inside the brackets and as shown.  It would either forward all email to the spam@ account, or dump the messages with [SPAM] into the main boxes.
 
 
 
----- Original Message -----
Sent: Monday, February 07, 2005 13:52
Subject: Re: [IMail Forum] IMail filtering on non-existent value

That did it... Thanks!
 
----- Original Message -----
Sent: Monday, February 07, 2005 13:27
Subject: Re: [IMail Forum] IMail filtering on non-existent value

The parser in the rules engine was changed in 8.11 The one that was added is more w compliant. the string you specified contains 2 operators( the [ and ] ) and 4 letters. your statement check the subject for any one of these letters S, P, A, or M. The Square Bracket operator means anytihing soecified between them. To make them literal you need to escape the operator with a backslash "\" so the rule should look like
 
if the subject contains \[SPAM\] forward to.....
 
Eric S
----- Original Message -----
Sent: Monday, February 07, 2005 11:56 AM
Subject: [IMail Forum] IMail filtering on non-existent value

I have IMail sitting behind ASSP.  ASSP is set to add [SPAM] to the subject line of incoming emails seen as spam (the value here includes the brackets).  Then, I have an inbound rule for the domain in IMail that says If Subject contains [SPAM], forward to [EMAIL PROTECTED].
 
I'm not sure what IMail is looking at, but it forwards all emails to [EMAIL PROTECTED], not just those where the subject contains [SPAM].  I have other installs set up the same way and I don't have this problem with them.
 
I deleted and recreated the inbound rule, but it didn't make a difference.  I've check the header of the email and the only line with [SPAM] in it is
 
X-IMail-Rule : S~[SPAM]:[EMAIL PROTECTED] Data- ST
 
Imail is adding this line, but the email as it comes from ASSP to IMail does not have [SPAM] anywhere in it, much less the subject line.
 
 

Reply via email to