Sorry for posting this if this is some easy solution that is listed in the manual but still I have not found a solution.
I need to archive all emails from one user and start with a new empty mailbox. This mailbox has approx 6000 messages so it takes time to do this manually.
Is there any tick to do this thru the CLI?
Exchange has the ExMerge to do this but I have not seen any such tool except maybe some functions in zmmailbox...
Also I would like to empty the trash and spam folders of all users automatically . Is that possible by using some CLI tool and create some cron script for automation?