getmail_fetch(1)

getmail_fetch1

Retrieve messages from one or more pop3 or pop3-over-ssl mailboxes and deliver to a maildir, mboxrd-format mbox file, or external mda

Usage

getmail_fetch [OPTIONS] SERVER USERNAME PASSWORD DESTINATION

Overview

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 scripting, and as such does not require a client-side configuration file, and does not record any state.

The DESTINATION argument is interpreted as follows:

If it begins with a dot or a slash and ends with a slash, it is assumed to be a path to a maildir.

If it begins with a dot or a slash and does not end with a slash, it is assumed to be a path to an mboxrd file.

If it begins with a pipe, it is assumed to be a path to an external MDA command. Note that arguments can be included in this string by separating them by whitespace; untrusted data must not be used in constructing this string.

Options

--version

show program's version number and exit

-h, --help

show a short usage summary and exit

-v, --verbose

output information messages while running

-q, --quiet

output only on error

-mFILE, --message=FILE

read well-formatted RFC822 message from FILE and deliver prior to connecting to POP server

-pPORT, --port=PORT

use port PORT instead of default (POP3: 110, POP3-over-SSL: 995)

-d, --delete

delete messages from server after delivery

-tTIMEOUT, --timeout=TIMEOUT

use timeout of TIMEOUT seconds instead of default 180

-a, --apop

use APOP authentication

-s, --ssl

use POP3-over-SSL

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0–9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Written by Charles Cazabon and others.

Reporting bugs

Report bugs to <https://github.com/getmail6/getmail6/issues>

IMPORTANT: include the output of getmail [options] --dump with any bug report.

From getmail6 6.19.07-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.