Name
fetchmail
Synopsis
fetchmail [options] [servers...]
Retrieves mail from mail
servers and forwards it to the local mail delivery system.
fetchmail retrieves mail from servers that support
the common mail protocols POP2, POP3, IMAP2bis, and IMAP4. Messages
are delivered via SMTP through port 25 on the local host and through
your system’s mail delivery agent (such as
sendmail), where they can be read through the
user’s mail client. fetchmail
settings are stored in the ~/.fetchmailrc file.
Parameters and servers can also be set on the command line, which
will override settings in the .fetchmailrc file.
Options
-
-a,--all Retrieve all messages from server, even ones that have already been seen but left on the server. The default is to only retrieve new messages.
-
-Atype,--authtype Specify the type of authentication. type may be
password,kerberos_v5, orkerberos. Authentication type is usually established byfetchmailby default, so this option isn’t very useful.-
-Bn,--fetchlimitn Set the maximum number of messages (n) accepted from a server per query.
-
-bn,--batchlimitn Set the maximum number of messages sent to an SMTP listener per connection. When this limit is reached, the connection will be broken and reestablished. The default of 0 means no limit.
-
-c,--check Check for mail on a single server without retrieving or deleting messages. Works with IMAP, but not well with other protocols, if at all.
-
-D [domain],--smtpaddress [domain] Specify the domain name placed ...