Delete old messages

I have 11000 messages in my Inbox (pop3 account). I can’t find how to

  • select messages older than a year or so to delete them
  • limit the size of the inbox as it is suggested somewhere