fetchmail
TLDR
Fetch mail from server
SYNOPSIS
fetchmail [options] [servers...]
DESCRIPTION
fetchmail retrieves mail from remote servers and forwards it to the local mail system. It supports POP3, IMAP, ETRN, and ODMR protocols with SSL/TLS encryption.
The tool is configured through ~/.fetchmailrc or command-line options. It can run as a daemon, periodically checking for new mail, and integrates with local MTAs.
PARAMETERS
-c, --check
Check for mail only, don't fetch.-k, --keep
Keep messages on server.-a, --all
Fetch all messages (including seen).-d seconds
Daemon mode with poll interval.-f file
Use alternate config file.-u user
Remote username.-p proto
Protocol (pop3, imap, etc.).--ssl
Use SSL/TLS.-v, --verbose
Verbose output.-q, --quit
Kill running daemon.
CAVEATS
Passwords in config file need protection. SSL verification recommended. Large mailboxes may be slow. Local MTA must accept forwarded mail.
HISTORY
fetchmail was originally written by Carl Harris as popclient in 1993. Eric S. Raymond took over development in 1996, renaming it fetchmail and adding IMAP support. It became a standard tool for pulling mail from remote servers.


