cancel
Showing results for 
Search instead for 
Did you mean: 

Using wildcard for Custom filtering

jdewing
Level 4

Is there anyway that I can use a wildcard for the email address in the Default Filter Rules.xml?  For example,

<EA>noreply.*@Domain.local</EA>.

It didn't work when I tried it.  Is there any other way to include one statement instead of adding like ~20 email address per lines?

1 ACCEPTED SOLUTION

Accepted Solutions

Rob_Wilcox1
Level 6
Partner

You can't do that..  but you could create a DL, and then do this:

 

 

<RECIPIENTS>
    <DL>ALL SALES</DL>
</RECIPIENTS>

would match any message sent to any member of the distribution list, ALL SALES.

For this matching to work, ensure that expansion of distribution lists is enabled in the Administration Console (in the "Archiving General" settings on the "Advanced" tab of the Exchange journal policy). Also, the distribution list must not be included in the Agents registry setting, BlacklistedDLs.

You can specify distribution lists and groups using the <EA>, <DISPN> and <DOMAIN> message attributes. However, only messages with the specified string will match; no attempt is made to compare message recipients with individual members in the specified distribution list.

For example, the members of an Exchange Server distribution list called ALL SALES are:

john.doe@ourcompany.com
ken.brookes@ourcompany.com
len.scott@ourcompany.com
In the ruleset file, the following message attribute filter is specified in a rule:

<RECIPIENTS>
    <DISPN>ALL SALES</DISPN>
</RECIPIENTS>

If a message has the display name ALL SALES in the recipient list, the message will satisfy the attribute filter above. If the message does not have the display name ALL SALES in the recipient list, it will not match the attribute filter, even if the recipient list does include the email address of a member of the distribution list. 

 

Working for cloudficient.com

View solution in original post

2 REPLIES 2

Rob_Wilcox1
Level 6
Partner

You can't do that..  but you could create a DL, and then do this:

 

 

<RECIPIENTS>
    <DL>ALL SALES</DL>
</RECIPIENTS>

would match any message sent to any member of the distribution list, ALL SALES.

For this matching to work, ensure that expansion of distribution lists is enabled in the Administration Console (in the "Archiving General" settings on the "Advanced" tab of the Exchange journal policy). Also, the distribution list must not be included in the Agents registry setting, BlacklistedDLs.

You can specify distribution lists and groups using the <EA>, <DISPN> and <DOMAIN> message attributes. However, only messages with the specified string will match; no attempt is made to compare message recipients with individual members in the specified distribution list.

For example, the members of an Exchange Server distribution list called ALL SALES are:

john.doe@ourcompany.com
ken.brookes@ourcompany.com
len.scott@ourcompany.com
In the ruleset file, the following message attribute filter is specified in a rule:

<RECIPIENTS>
    <DISPN>ALL SALES</DISPN>
</RECIPIENTS>

If a message has the display name ALL SALES in the recipient list, the message will satisfy the attribute filter above. If the message does not have the display name ALL SALES in the recipient list, it will not match the attribute filter, even if the recipient list does include the email address of a member of the distribution list. 

 

Working for cloudficient.com

jdewing
Level 4

Would it be easier to configure Outlook Rule for Journal mailbox to delete any alert notification instead of using Selective Journaling?