CPO is a tool written in Java that manages newsletters. It's focused on corporate needs (privacy, scalability, bounce count, opt-in & out, newsletter statistics).
IMAP-Agent is an automated IMAP mail folder management system implementing site wide and
individual user specific rules for filtering mail between folders.
Also, quotas can be maintained by age or max count of
messages for any folder.