getmail(1)

getmail1

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

Usage

getmail [OPTION] ...

Overview

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 are supported.

getmail has built-in support for delivering to maildirs, mboxrd-format mbox files, and external MDAs.

Options

--version

show program's version number and exit

-h, --help

show a short usage summary and exit

-gDIR, --getmaildir=DIR

look in DIR for config/data files

-rFILE, --rcfile=FILE

load configuration from FILE (may be given multiple times)

--dump

dump configuration and exit (debugging)

--trace

print extended trace information (extremely verbose)

-iFOLDER, --idle=FOLDER

maintain connection and listen for new messages in FOLDER. This flag will only work if a single rc file is given, and will only work on IMAP connections where the server supports IMAP4 IDLE (RFC 2177).

The following options override any in the configuration file(s).

-v, --verbose

operate more verbosely (can be given multiple times)

-q, --quiet

do not print informational messages

-d, --delete

delete messages from server after retrieving

-l, --dont-delete

do not delete messages from server after retrieving

-a, --all

retrieve all messages

-n, --new

retrieve only unread messages

Releases

12 releases since Debian 3.0 (Woody); the text changed 9 times.

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

--idle since Debian 7 (Wheezy); -i since Debian 7 (Wheezy).

--message-log until Debian 3.0 (Woody); --timeout until Debian 3.0 (Woody); -V until Debian 3.0 (Woody); -m until Debian 3.0 (Woody); -t until Debian 3.0 (Woody).

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.