getmail6

Extensible mail retrieval system supporting POP3, IMAP4, and SSL

brewmacoslinux
Try with needOr install directly
Source

About

Extensible mail retrieval system with POP3, IMAP4, SSL support

Commands

getmail

Examples

Retrieve all mail from a POP3 server$ getmail --getmail-rc ~/.getmail/getmailrc
Retrieve mail and delete from server after fetching$ getmail --getmail-rc ~/.getmail/getmailrc --delete
Test configuration without retrieving mail$ getmail --getmail-rc ~/.getmail/getmailrc --test