Couldn't find a good link searching LQ right now, so here's an external link:
fetchmail. The man page for fetchmail is not that hard to read once you have read it over a few times and have played with fetchmail. If it doesn't work and you run fetchmail as "fetchmail -f yourfetchmailconfigfile -cvN 2>&1|tee fetchmail.err" you should see and have the errors (if any) in fetchmail.err to check or post.