Change timeout for message review in Exchange Online?

I have set up some phishing/malware mail-flow rules that will forward emails to me for review based on attachments or a list of domains. I can then choose to accept or reject the message. It seems to work well. The problem I'm having is that this weekend, some were automatically rejected because I didn't respond in time.

How do I change this time to "auto reject"?


Solution 1:

Firstly, run this command to verify that the expiry period is 2 days:

get-retentionpolicytag moderatedrecipients | fl

You should see the Agelimitforretention listed as 02.00:00:00, or 2 days exactly

To change it, use the following command:

set-retentionpolicytag moderatedrecipients -agelimitforretention 05.00:00:00

Where 05 in this example is 5 days. Vary it to suit your requirements. (Maximum 9 Days)

Re-run the first command in order to verify that the change has been made.