I've been trying to figure out on my own, from researching on various websites, forums etc, a solution I deem to be relatively simple, but without success.
I would like to block emails for a particular Exchange user, but not by the entire address, but by the domain name.
Let's assume that I have received emails from different users, or from the same user, but that it continually changes your domain.
One hour would be, for example,
... @ mail21.us4.mcsv.net
Then it arrives as
... @ mail68.atl71.mcdlv.net
Another time comes as
... @ mail21.wdc03.rsgsv.net
and another time appears as
... @ mail22.wdc01.mcdlv.net
and repeating part of one of the above domains, such as
... @ mail67.us4.mcsv.net
I would like to at least block what I get as 'mcsv.net', which would already help a lot.
That is, the PowerShell statement could be like
Set-MailboxJunkEmailConfiguration -Identity $usuario -BlockedSendersAndDomains @{Add="*.mcsv.net"}
So far, I have seen that I can dial, for example,
Set-MailboxJunkEmailConfiguration -Identity $usuario -BlockedSendersAndDomains @{Add="mail22.wdc01.mcdlv.net"}
Because, in this case, this would be the full domain name.
But as it changes all the time, this does not help much.
Would you use wildcard for this problem? The instruction, the lock command itself, does not allow.
Thankful
Mauro