Bug in script filtering

Discussion forum for Enterprise Edition.
Post Reply
jglazer
Posts: 324
Joined: Thu Mar 17, 2005 5:48 pm

Bug in script filtering

Post by jglazer »

I have the following script filter:

FilterResult=0
If _
not CriteriaMet([ME_HEADERS_CONTAIN],"*spamtitan*") and _
not [ME_SENDERAUTH] and _
not CriteriaMet([ME_HEADERS_CONTAIN],"*MailEnable WebMail*")_
THEN
FilterResult=1
End If

There are 3 criteria I am trying to filter on:
  • 1. Did the email go through our spam filtering service. This one seems to work
    2. Did the email originate with a ME post office (post office to post office email). This does not work
    3. Did the email originate with the ME Webmail application. This seems to work as well.
So either I am misinterpreting how script filtering works or there's a bug. Can I get some help here? Is there a better way to check if an email originated from ME?

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Bug in script filtering

Post by MailEnable-Ian »

Hi,

The ME_SENDERAUTH does not have a value.

Try the following:

Code: Select all

FilterResult=0
If not CriteriaMet([ME_HEADERS_CONTAIN],"*spamtitan*") and _
not [ME_SENDERAUTH] = 1 and _
not CriteriaMet([ME_HEADERS_CONTAIN],"*MailEnable WebMail*") THEN 
FilterResult=1
End If
Regards,

Ian Margarone
MailEnable Support

Post Reply