We're trying to delete 80% or 90% of the emails from a ~200k message queue. Ideally, we would be able to select the messages using regex.
I can see the messages in the queue folder, but just deleting the files seems dangerous.
Are there any utilities or established patterns for doing this?