carta
sup-recover-sources(1)

sup-recover-sources1

Rebuild a lost sup source configuration file

Usage

sup-recover-sources [options] [source uri ...]

Overview

Rebuilds a lost sources.yaml file by reading messages from a list of sources and determining, for each source, the most prevalent 'source_id' field of messages from that source in the index.

The only non-deterministic component to this is that if the same message appears in multiple sources, those sources may be mis-diagnosed by this program.

If the first N messages (--scan-num below) all have the same source_id in the index, the source will be added to sources.yaml. Otherwise, the distribution will be printed, and you will have to add it by hand.

The offset pointer into the sources will be set to the end of the source, so you will have to run sup-import --rebuild for each new source after doing this.

Options

--unusual

Mark sources as 'unusual'. Only usual sources will be polled by hand (default: false)

--archive

Mark sources as 'archive'. New messages from these sources will not appear in the inbox (default: false)

--scan-num N

Number of messages to scan per source (default: 10)

-h, --help

Show help message

Files

$HOME/.sup/sources.yaml

Configuration file for Sup mail sources

Contact information

The Sup web page:

<http://supmua.org/>

Code repository:

<https://github.com/sup-heliotrope/sup/>

Sup Wiki:

<https://github.com/sup-heliotrope/sup/wiki/>

Sup IRC channel:

#sup @ freenode.net

Mailing list:

[email protected]

[email protected]

Archives: <https://groups.google.com/d/forum/supmua/>

History

  • Debian 13 (Trixie) to Debian 8 (Jessie): the text shown here
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

--archive since Debian 7 (Wheezy); --scan-num since Debian 7 (Wheezy); --unusual since Debian 7 (Wheezy).

--compose until Debian 6.0 (Squeeze); --list-hooks until Debian 6.0 (Squeeze); --no-initial-poll until Debian 6.0 (Squeeze); --no-threads until Debian 6.0 (Squeeze); --search until Debian 6.0 (Squeeze); --version until Debian 6.0 (Squeeze); -c until Debian 6.0 (Squeeze); -l until Debian 6.0 (Squeeze); -n until Debian 6.0 (Squeeze); -o until Debian 6.0 (Squeeze); -s until Debian 6.0 (Squeeze); -v until Debian 6.0 (Squeeze).

Reporting bugs

You are welcome to submit bug reports to the Sup issue tracker, located at

<https://github.com/sup-heliotrope/sup/issues>

Authors

Sup was originally written by William Morgan <[email protected]> and is now developed and maintained by the Sup developers.

From sup-mail 1.3-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.