Package getmail

POP3, IMAP4 and SDPS mail retriever with Maildir delivery

http://pyropus.ca/software/getmail/

getmail is a secure, flexible, reliable and easy-to-use
mail retriever for POP3, IMAP4 and SDPS.
It delivers mail into a Maildir or mbox file.
It is designed to replace other mail retrievers such as fetchmail.
Getmail is written entirely in python.

General Commands (Section 1)
getmail
getmail can retrieve messages from POP3, IMAP4, and SDPS mailboxes. SSL-wrapped POP3 and IMAP are also supported. Single-user and domain (multi-drop) mailboxes...
getmail_fetch
getmail_fetch retrieves messages from POP3 or POP3-over-SSL mailboxes and delivers to a maildir, mboxrd, or external MDA. This command is intended primarily for...
getmail_maildir
Deliver a mail message from standard input, to the maildir named PATH. PATH must start with a dot or a slash and end with a slash. getmail_maildir uses the...
getmail_mbox
Deliver a mail message from standard input, to the mboxrd-format mbox file named PATH. PATH must start with a dot or a slash and must not end with a slash...