With Fetchmail, you can retrieve emails from a remote POP3 or IMAP account and put them into a local mailbox.
To setup fetchmail: