I use procmail to filter my mail to several different mailboxes depending on source etc. The great thing is, it saves each copy into a backup folder's mailboxes too (so I can freely trim the mailboxes I actually read on a frequent basis).
At this point I think I've got mail back to about March 1999, totaling about 1GB, >300,000 messages (the majority are pretty small), etc. etc..