I am using ME Enterprise 10.45
Where are all the Filter Criteria tokens explained? I don't see this in the manual.
I see a token called [ME_BOUNDRYHEADER_CONTAIN] with no explanation found anywhere. What is a BOUNDRYHEADER?
My goal is to create a filter script to catch any TLD not matching my txt list and send that email to spam.
Seems any combination of letters can make up a TLD these days. There are only eight I want to pass to the inbox.
Something like this (using reverse logic)
FilterResult=1
If CriteriaMet([ME_HEADERS_CONTAIN],"<REFERENCE><FILE>MEFILTER-GoodTLDs.txt</FILE><PATH>D:\Mail Enable\Config\Filters\Patterns</PATH><REFERENCE>") Then
FilterResult=0
End If
Filter Criteria tokens explained
-
- Site Admin
- Posts: 1093
- Joined: Mon Jun 10, 2002 6:31 pm
- Location: Melbourne, Victoria, Australia
Re: Filter Criteria tokens explained
The ME_BOUNDRYHEADER_CONTAIN is for checking the fields in MIME boundary header. So in a multipart MIME message you might have:
--__=_MixedPart_6671453_5930076
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename= "filename.pdf"
The filter allows you to check these headers. So it would not be used in your example.
--__=_MixedPart_6671453_5930076
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename= "filename.pdf"
The filter allows you to check these headers. So it would not be used in your example.