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

# imrm(1p)

remove mail/news messages

## NAME

imrm - remove mail/news messages

## SYNOPSIS

**imrm** \[OPTIONS\] FOLDER... MSGS...

## DESCRIPTION

The *imrm* command moves mail/news messages from the source folder to the +trash folder.

This command is provided by IM (Internet Message).

## OPTIONS

- *-s, --src=FOLDER*

  Set source folder.  Default value is "+inbox". "--src=+xxx" is equivalent to "+xxx".

- *-d, --dst=FOLDER*

  Set destination folder.  Default value is "+trash".

- *-S, --sshserver=SERVER*

  SSH port relay server.

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

  Display the commands but do not actually execute them.

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