Implement NOT in filter

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

Implement NOT in filter

Post by jglazer »

I cannot seem to find where you would specify "NOT" in the filter area. Like "If message header does NOT contain specific words". I am sure it's here but I cannot seem to find how to implement it. Can someone please help?

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

Re: Implement NOT in filter

Post by MailEnable-Ian »

Hi,

This has to be done within a script filter.

Example:

Code: Select all

FilterResult=0
If not CriteriaMet([ME_HEADERS_CONTAIN],"*Value*") THEN
FilterResult=1
End If
Regards,

Ian Margarone
MailEnable Support

jglazer
Posts: 324
Joined: Thu Mar 17, 2005 5:48 pm

Re: Implement NOT in filter

Post by jglazer »

This works well. I have it filtering on when there is no header from the SPAM filter system. However, I have to also allow email from internal (mailbox to mailbox or postoffice to postoffice). Is there a criteria that detects if the email is from the mailenable server itself?

Post Reply