Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Discussion forum for Enterprise Edition.
Post Reply
kiamori
Posts: 250
Joined: Wed Nov 04, 2009 1:39 am
Contact:

Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Post by kiamori » Thu May 09, 2019 12:11 am

Can one specify multiple email addresses using the CriteriaMet([ME_TOorCC]) filter? for example

CriteriaMet([ME_TOorCC]),"email1,email2,email3"

or do I need to do a rule for each email?

More documentation on the rules functions would be great.

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

Re: Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Post by MailEnable-Ian » Thu May 09, 2019 5:31 am

Hi,

No. You need to use the following:

CriteriaMet([ME_TOorCC],"<REFERENCE><FILE>emails.txt</FILE><PATH>C:\Program Files (x86)\Mail Enable\Config\Filters\Patterns</PATH><REFERENCE>")

The emails.txt needs to be created in the above path. In the emails .txt file add each email address on a separate line embraced by wildcards. I.e:

*email@domain.com*
*email2@domain.com*
Regards,

Ian Margarone
MailEnable Support

kiamori
Posts: 250
Joined: Wed Nov 04, 2009 1:39 am
Contact:

Re: Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Post by kiamori » Sat May 11, 2019 7:08 pm

Oh yeah, I forgot about that function. Much appreciated Ian.

for that file we can format in either of the following ways correct?

@emailsaddress.tld
full@emailaddress.tdl

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

Re: Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Post by MailEnable-Ian » Thu May 16, 2019 12:50 am

Hi,

Yes, although don't forgot to embrace the entries with wildcards.

I.e:

*@emailsaddress.tld*
*full@emailaddress.tdl*
Regards,

Ian Margarone
MailEnable Support

Post Reply