1SUP-RECOVER-SOURCES(1)                                  SUP-RECOVER-SOURCES(1)
2
3
4

NAME

6       sup-recover-sources - rebuild a lost Sup source configuration file
7

SYNOPSIS

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

DESCRIPTION

12       Rebuilds  a  lost  sources.yaml file by reading messages from a list of
13       sources  and  determining,  for  each  source,   the   most   prevalent
14       `source_id' field of messages from that source in the index.
15
16       The  only  non-deterministic component to this is that if the same mes‐
17       sage appears in multiple sources, those sources may be mis-diagnosed by
18       this program.
19
20       If  the first N messages (--scan-num below) all have the same source_id
21       in the index, the source will be added to sources.yaml.  Otherwise, the
22       distribution will be printed, and you will have to add it by hand.
23
24       The  offset  pointer  into  the  sources  will be set to the end of the
25       source, so you will have to  run  sup-import  --rebuild  for  each  new
26       source after doing this.
27

OPTIONS

29       --unusual
30              Mark sources as `unusual'.  Only usual sources will be polled by
31              hand (default: false)
32
33       --archive
34              Mark sources as `archive'.  New messages from these sources will
35              not appear in the inbox (default: false)
36
37       --scan-num N
38              Number of messages to scan per source (default: 10)
39
40       -h, --help
41              Show help message
42

FILES

44       $HOME/.sup/sources.yaml
45              Configuration file for Sup mail sources
46

SEE ALSO

48       sup(1), sup-config(1), sup-add(1), sup-import(1)
49

REPORTING BUGS

51       You are welcome to submit bug reports to the Sup issue tracker, located
52       at
53
54       <https://github.com/sup-heliotrope/sup/issues>
55

CONTACT INFORMATION

57       The Sup web page:
58              <http://supmua.org/>
59
60       Code repository:
61              <https://github.com/sup-heliotrope/sup/>
62
63       Sup Wiki:
64              <https://github.com/sup-heliotrope/sup/wiki/>
65
66       Sup IRC channel:
67              #sup @ freenode.net
68
69       Mailing list:
70              supmua@googlegroups.com
71
72              supmua+subscribe@googlegroups.com
73
74              Archives: <https://groups.google.com/d/forum/supmua/>
75
77       Copyright © 2006-2009 William Morgan <mworgan-sup@masanjin.net>
78
79       Copyright @ 2013-2014 Sup developers
80
81       Permission is granted to copy and  distribute  this  manual  under  the
82       terms  of  the GNU General Public License; either version 2 or (at your
83       option) any later version.
84

AUTHORS

86       Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
87       and is now developed and maintained by the Sup developers.
88
89
90
91Sup User Manual                  April 9, 2012          SUP-RECOVER-SOURCES(1)
Impressum