Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

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

Need Help with Filtering Rule CriteriaMet([ME_TOorCC])

Post by kiamori »

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: 9738
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 »

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: 329
Joined: Wed Nov 04, 2009 1:39 am
Contact:

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

Post by kiamori »

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: 9738
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 »

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