This app checks the modqueue every five minutes. If there are any posts or comments in the queue for shadowbanned, suspended or deleted users, the post or comment will be removed if configured to do so.
The app can be configured to remove posts or comments for deleted users or shadowbanned/suspended users - both options can be controlled independently.
You can also choose to lock comments and posts removed from the queue, and in the case of suspended or shadowbanned users who had queue items you can also choose to reply to removed items with a comment, e.g. if you wish to advise the user of the Reddit appeals process.
Modqueue Pruner is open source. You can find the source here.