I have been asked to prevent sending Out of Office replies from a DL members to the senders. The context of the request is the DL is published externally to the customers. If the customers send email to get help, we don’t want to send Out of Messages back to the customers.
This is super simple to resolve. The DL property named SendOofMessageToOriginatorEnabled needs to be set to False.
Set the property to false like this:
Set-DistributionGroup <DLName> -SendOofMessageToOriginatorEnabled:$false
Hope you like this quick solution. Leave me a comment.