Hi guys,
I am just trying to write a script to clear out IMAP mailboxes.
We have an email system which currently needs to be cleared manually by every user, but it would be a lot nicer if we either had a scheduled job that would do it for us.
Another option, possibly better in fact, is having a script that is manually run, which will clear out all the mails.
Features required:
Being able to stop it running (if it's automatic)
To clear out 9 different IMAP mailboxes
I did try this myself first, but rapidly hit stumps. I'm not really looking for the full script yet - just wondering if anyone could point me in the direction of some good shell scripting resources...
Thanks in advance
P.
I am just trying to write a script to clear out IMAP mailboxes.
We have an email system which currently needs to be cleared manually by every user, but it would be a lot nicer if we either had a scheduled job that would do it for us.
Another option, possibly better in fact, is having a script that is manually run, which will clear out all the mails.
Features required:
Being able to stop it running (if it's automatic)
To clear out 9 different IMAP mailboxes
I did try this myself first, but rapidly hit stumps. I'm not really looking for the full script yet - just wondering if anyone could point me in the direction of some good shell scripting resources...
Thanks in advance
P.
Comment