Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 3660

simplify transport rules with regex?

$
0
0

To log emails by project, we've got about 1600 mail transport rules configured where if a string is detected in the subject it sends a bcc of the email into a corresponding mail-enabled public folder.

For example, if subject contains the project "ABCD-123", send bcc to ABCD-123@domain.com (this is the alias of the PF). Same for ABCD-124 or WXYZ-999, etc.  All of our projects use this pattern and have a rule and PF.

Is there a way to have one rule to replace all of these, maybe using regex pattern match to accomplish this?

If subject contains (([A-Za-z]{4})-(\d{3})) then send bcc to (([A-Za-z]{4})-(\d{3}))@domain.com


Viewing all articles
Browse latest Browse all 3660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>