Implement NOT in filter
Implement NOT in filter
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?
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Implement NOT in filter
Hi,
This has to be done within a script filter.
Example:
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
Ian Margarone
MailEnable Support
Re: Implement NOT in filter
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?