Forum Discussion
Mail on Holiday / Out-of-office Auto-Delete Rule
I'm not really sure why would you want to do such thing in the first place. This is a behavioral problem, not a technical one.
Yes, you can create mail flow rules to redirect or even delete messages. No, you cannot automatically tie them to the OOO settings, but you can easily schedule a PowerShell script to turn the rule on/off as needed. Or add additional criteria such as group membership, as you noted. So technically it's doable.
But what about the sender? Should he be notified or just be left in the dark (and in some cases waiting for a reply in vain)? Should he receive the OOO message of the person or some generic message? Or just an NDR, which will confuse him even more? What about internal vs external mail? And should we even start to talk about the possible compliance implications?
If you want to do a technical solution, you can simply block users' access to email for that period.
It takes 30 seconds to empty your inbox after returning from leave. Offsetting that minor inconvenience with a system that deletes emails.... risky.
I mean if you really want to get fiddly with this stuff you would scan mailboxes for those with OOF enabled and drop them out of all DLs, so that important personal email is not lost.
This does sound bad though. There's nothing available for the end user to make this happen, unless they set up their own OOF message and an inbox rule, and then remember to turn off that inbox rule.
Yeah, just sounds bad to me.