---
name: "cyrus-rmnews"
section: "8"
platform: "linux"
package: "cyrus-nntpd"
version: "3.0.8-6+deb10u6"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/cyrus-rmnews"
---

# cyrus-rmnews(8)

Cyrus IMAP documentation Expunge and remove news articles

## NAME

rmnews - Cyrus IMAP documentation

Expunge and remove news articles

## SYNOPSIS

```
rmnews [ -C config-file ]
```

## DESCRIPTION

**rmnews** reads article data from the standard input.  It then expunges and removes the listed articles.  **rmnews** is designed to be used by InterNetNews to remove canceled, superseded, and expired news articles.

The input is processed as an INN **[expirerm(8)](/expirerm/8.md)** file listing or an INN cancel stream written as a \`\`WC'' entry in the **[newsfeeds(5)](/newsfeeds/5.md)** file. This data consists of lines of text, each containing a list of relative article pathnames, with a single space between entries.  If a listed file is contained in an IMAP news mailbox, it is expunged out of that mailbox.  In any case, each listed file is unlinked.

**rmnews** reads its configuration options out of the [imapd.conf(5)](/imapd.conf/5.md) file unless specified otherwise by **-C**. The optional **newsprefix** option specifies a prefix to be prepended to newsgroup names to make the corresponding IMAP mailbox names.  The required **partition-news** option specifies the pathname prefix to the IMAP news mailboxes.  The value of **partition-news** concatenated with the dots-to-slashes-converted value of **newsprefix** must be the pathname of the news spool directory.

## OPTIONS

- **-C config-file**

  Use the specified configuration file *config-file* rather than the default [imapd.conf(5)](/imapd.conf/5.md).

## FILES

/etc/imapd.conf

## SEE ALSO

[imapd.conf(5)](/imapd.conf/5.md)

## AUTHOR

The Cyrus Team, Nic Bernstein (Onlight)

## COPYRIGHT

1993-2017, The Cyrus Team
