Filter Criteria tokens explained

Discussion forum for Enterprise Edition.
Post Reply
Posts: 226
Joined: Fri May 26, 2017 11:25 pm

Filter Criteria tokens explained

Post by dcol »

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)
If CriteriaMet([ME_HEADERS_CONTAIN],"<REFERENCE><FILE>MEFILTER-GoodTLDs.txt</FILE><PATH>D:\Mail Enable\Config\Filters\Patterns</PATH><REFERENCE>") Then
End If

Site Admin
Posts: 1093
Joined: Mon Jun 10, 2002 6:31 pm
Location: Melbourne, Victoria, Australia

Re: Filter Criteria tokens explained

Post by Admin »

The ME_BOUNDRYHEADER_CONTAIN is for checking the fields in MIME boundary header. So in a multipart MIME message you might have:

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.

Post Reply