When attempting to execute a User Deprovisioning Policy which leverages customization under Prevents user from accessing mailbox | Automatic Replies (also might be labeled Deprovisions Microsoft Exchange resources for deprovisioned users | Automatic Replies) against an Exchange 2007 or earlier mailbox, automatic replies are not set, and the following error message is seen in the Change History of the Deprovisioned User:
Administrative Policy returned an error. ActiveRoles cannot configure automatic replies for a mailbox of version earlier than Exchange 2010.
Although it is not supported by One Identity Software, this 3rd-party resource outlines a method which could be modified to provide similar functionality when working with Microsoft Exchange 2007.
This method leverages libraries which are not included with a standard Microsoft Exchange installation.