I'd like to exclude a single email address or recipient from an existing dynamic distribution group in Exchange 2010. The group is the generic "Everyone" group, and I'm interested in excluding the dedicated domain account used for our external mail journaling software (MailArchiva). I've seen references online to filtering on a custom attribute, but I'm seeking a solution that will allow something like:
Everyone = all Exchange mailboxes EXCEPT for 'Journal User'
It's a basic request, but the Exchange Management Console only seems to allow inclusions in its filters. Perhaps this is attainable via the Powershell.
The only way I've seen to do this (maybe someone has a more efficient way) is with Transport Rules. I have a rule set up for the group applied to all messages sent to the e-mail address I want to exclude (or multiple addresses) where any recipient in To or CC is the distribution group address (be sure to include any aliases as well). The action to take is to delete without notification.
If an e-mail happened to be sent to the group and also had your exception address entered separately (To or CC), the message would still not be delivered. This probably won't matter in your case, but it's worth noting.