Here is a deal I've been trying to add * domain.com to safe-sender list but being denied with following error, agreed this is not a standard format but we have a requirement for a relaying application that needs to be allowed as such by adding* domain.com , alternatively is there a way i can add this to safe sender from server or some transport rule. please suggest ?
Remark:- I do not need to add domain.com in accepted domains.
---
[PS] C:\Windows\system32>Set-MailboxJunkEmailConfiguration -Identity Aditya.@xyz.com -TrustedSendersAndDomains "* domain.com"
Can't update TrustedSendersAndDomains because it contains an invalid address.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-MailboxJunkEmailConfiguration], DataSourceOperationException + FullyQualifiedErrorId:F83E4109,Microsoft.Exchange.Management.StoreTasks.SetMailboxJunkEmailConfiguration
Aditya Mediratta