We have more then 9000 students and no longer want to keep old messages of them. Too much disk space.
Is there a simple method to run a script (say) every month and delete all the messages which are
- older then (say) 3 months of users of a specific domain,
- and also haven't logged in for the last (say) 3 months.