---
name: "imget"
section: "1p"
platform: "linux"
package: "im"
version: "1:153-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/imget/1p"
---

# imget(1p)

get mail/news messages

## NAME

imget - get mail/news messages

## SYNOPSIS

**imget** \[OPTIONS\]

## DESCRIPTION

The *imget* command incorporates messages from mail/news servers.

This command is provided by IM (Internet Message).

## OPTIONS

- *-s, --src=STRING*

  Message source: 'local\[:path\_of\_mailbox\]', 'pop\[/APOP\|/RPOP\|/POP\]\[:user\]\[@host\]', 'imap\[\[/AUTH\|/LOGIN\]\|%folder\[//AUTH\|//LOGIN\]\]\[:user\]\[@host\]', 'nntp:group\[@host\]', or 'stdin'.

- *-d, --dst=STRING*

  Message destination: "+folder" or "=locally.saved.news".

- *-n, --noscan={on,off}*

  No scan listings.

- *-o, --scaninboxonly={on,off}*

  Do not show scanned-lines if InboxFolder != dst.

- *-f, --form=STRING*

  Scan format.  Default value is "%+5n `%m`%d %-14A `%S` \|\| `%b`".

- *-b, --buffer={on,off}*

  Make output data buffered.

- *-j, --jissafe={on,off}*

  Safe manner for JIS.  Default value is "on".

- *-w, --width=NUM*

  Width of result for scan listings.  Default value is 80.

- *-l, --lock=STRING*

  Local mailbox locking style (none, flock, file). Default value is "flock".

- *-r, --rpath=STRING*

  Conversion of UNIX From line into Return-Path: (append, ignore, replace). Default value is "append".

- *-k, --keep=NUM*

  Preserve messages.  Default value is 0.

  (POP: in days; 0=delete immediately, -1=preserve forever)

  (otherwise: 0=delete immediately, non0=preserve forever)

- *-p, --protokeep=STRING*

  Protocol type to use for keeping messages on POP (UIDL, LAST, STATUS, MSGID). Timed out deletion is not supported with LAST. Default value is "UIDL".

- *-u, --usecl={on,off}*

  Use value of Content-Length header for delimitation. (effective only if source of messages is local).

- *-c, --count=NUM*

  Number of messages to be gotten in a process (NNTP).

- *-m, --mode=STRING*

  Processing mode: "get", "from" or "check". Default value is "get".

- *-a, --assoc=STRING*

  Association list: dst1=src1;dst2=src2;... This overrides --dst and --src options.

- *-x, --mimedecodequoted={on,off}*

  Decode broken mime-encoded strings.

- *-S, --sshserver=SERVER*

  SSH port relay server.

- *-q, --quiet={on,off}*

  Do not show any messages.

- *-v, --verbose={on,off}*

  Print verbose messages when running.

- *--debug=DEBUG\_OPTION*

  Print debug messages when running.

- *-h, --help*

  Display help message and exit.

- *--version*

  Output version information and exit.

## COPYRIGHT

IM (Internet Message) is copyrighted by IM developing team. You can redistribute it and/or modify it under the modified BSD license.  See the copyright file for more details.
