I use
The Bat! I've specified that for the common spam folder (the folder into which all the spam from all my accounts goes) the emails should be deleted from the server, so that when they're downloaded they don't remain on the server to send my accounts over quota

I also specified that the spam folder should keep messages for a week.