And I had to do that with my ISP's Web Mail interface. I can't write that using any Mail application would work for this.
Crummy, slow work but now it's clean.
I have a problem with Mail 5.3 (on OSX 10.7.5) that's baffling me.
I tried a rebuild on the sent box of a POP3 account. Although I manually delete mails on a regular basis, when I started the rebuild, the sent mailbox began to fill up with much older mails, dating back to 2010.
This used up a whopping 45GB on my HD.
I've tried deleting these mails, dumping them in batches into the Mail trash then emptying the trash, but they keep coming back like zombies.
In Mail preferences > accounts > advanced, I have it set to remove copies from the server after one week. This appears to apply to incoming mail. I rebuilt the inbox earlier without any problem.
In preferences > accounts > mailbox behaviours, I have 'Delete sent messages' set to 'Never'. I had assumed this refers to the mailbox on my HD, from which I prefer to delete manually.
On checking my 'sent' mailbox on the server via a webmail client I find there are only a couple of hundred mails, so they don't appear to be accumulating there.
Where is Mail getting all these old mails from when I ask it to rebuild?
Why does it keep replacing the ones I delete?
Any help in explaining this would be hugely appreciated. My HD is stuffed and I can't work on anything else until I get this cleared up.