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

# imhist(1p)

treat mail/news history database

## NAME

imhist - treat mail/news history database

## SYNOPSIS

**imhist** \[OPTIONS\]

## DESCRIPTION

The *imhist* command handles mail/news history database.

This command is provided by IM (Internet Message).

## OPTIONS

- *-l, --lookup=STRING*

  Look up an entry for specified message-id.

- *-r, --remove=STRING*

  Remove whole information on specified message-id.

- *-m, --msg=STRING*

  Message to be deleted if multiple in database.

- *-d, --dump={on,off}*

  Dump database just for debugging.

- *-a, --add=FOLDER*

  Add information of messages in a specified folder.

- *-s, --subfolders={on,off}*

  Descend sub folders recursively (option for --add).

- *-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.
