I've got something like 6000 files in my attachments folder. I'm pretty sure a lot of them are orphans: the parent email message has long since disappeared.
One way this can happen is if you Delete Message Immediately. The attachment does not delete (at least, for me) How can I get rid of these zombie files?

