sup 0.22.1 → 1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/checks.yml +70 -0
- data/.gitignore +1 -3
- data/.rubocop.yml +5 -0
- data/CONTRIBUTORS +14 -5
- data/Gemfile +6 -1
- data/History.txt +76 -0
- data/Manifest.txt +149 -0
- data/README.md +32 -5
- data/Rakefile +40 -1
- data/bin/sup +7 -5
- data/bin/sup-add +16 -20
- data/bin/sup-config +30 -44
- data/bin/sup-dump +2 -2
- data/bin/sup-import-dump +4 -4
- data/bin/sup-sync +3 -3
- data/bin/sup-sync-back-maildir +2 -2
- data/bin/sup-tweak-labels +5 -5
- data/ext/mkrf_conf_xapian.rb +10 -4
- data/lib/sup/colormap.rb +1 -1
- data/lib/sup/crypto.rb +17 -8
- data/lib/sup/hook.rb +9 -9
- data/lib/sup/index.rb +20 -7
- data/lib/sup/keymap.rb +1 -1
- data/lib/sup/logger.rb +1 -1
- data/lib/sup/maildir.rb +4 -4
- data/lib/sup/mbox.rb +4 -4
- data/lib/sup/message.rb +26 -15
- data/lib/sup/message_chunks.rb +29 -20
- data/lib/sup/mode.rb +1 -0
- data/lib/sup/modes/completion_mode.rb +0 -1
- data/lib/sup/modes/contact_list_mode.rb +1 -0
- data/lib/sup/modes/file_browser_mode.rb +2 -2
- data/lib/sup/modes/label_list_mode.rb +1 -1
- data/lib/sup/modes/reply_mode.rb +3 -1
- data/lib/sup/modes/search_list_mode.rb +2 -2
- data/lib/sup/modes/thread_index_mode.rb +1 -1
- data/lib/sup/modes/thread_view_mode.rb +15 -13
- data/lib/sup/rfc2047.rb +21 -6
- data/lib/sup/source.rb +9 -3
- data/lib/sup/textfield.rb +0 -1
- data/lib/sup/thread.rb +0 -1
- data/lib/sup/util/axe.rb +17 -0
- data/lib/sup/util/ncurses.rb +3 -3
- data/lib/sup/util.rb +42 -67
- data/lib/sup/version.rb +10 -1
- data/lib/sup.rb +13 -8
- data/man/sup-add.1 +34 -55
- data/man/sup-config.1 +23 -36
- data/man/sup-dump.1 +25 -35
- data/man/sup-import-dump.1 +33 -54
- data/man/sup-psych-ify-config-files.1 +25 -34
- data/man/sup-recover-sources.1 +34 -49
- data/man/sup-sync-back-maildir.1 +39 -60
- data/man/sup-sync.1 +49 -79
- data/man/sup-tweak-labels.1 +35 -58
- data/man/sup.1 +50 -62
- data/sup.gemspec +12 -9
- data/test/dummy_source.rb +21 -15
- data/test/fixtures/embedded-message.eml +34 -0
- data/test/fixtures/mailing-list-header.eml +80 -0
- data/test/fixtures/non-ascii-header-in-nested-message.eml +36 -0
- data/test/fixtures/non-ascii-header.eml +8 -0
- data/test/fixtures/rfc2047-header-encoding.eml +15 -0
- data/test/fixtures/text-attachments-with-charset.eml +60 -0
- data/test/fixtures/utf8-header.eml +17 -0
- data/test/fixtures/zimbra-quote-with-bottom-post.eml +27 -0
- data/test/gnupg_test_home/gpg.conf +2 -1
- data/test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key +0 -0
- data/test/gnupg_test_home/pubring.gpg +0 -0
- data/test/gnupg_test_home/receiver_pubring.gpg +0 -0
- data/test/gnupg_test_home/receiver_secring.gpg +0 -0
- data/test/gnupg_test_home/regen_keys.sh +69 -18
- data/test/gnupg_test_home/secring.gpg +0 -0
- data/test/gnupg_test_home/sup-test-2@foo.bar.asc +20 -22
- data/test/integration/test_mbox.rb +1 -1
- data/test/integration/test_sup-add.rb +83 -0
- data/test/test_crypto.rb +46 -0
- data/test/test_header_parsing.rb +9 -1
- data/test/test_helper.rb +7 -4
- data/test/test_message.rb +188 -22
- data/test/test_messages_dir.rb +13 -15
- data/test/unit/test_horizontal_selector.rb +4 -4
- data/test/unit/test_locale_fiddler.rb +1 -1
- data/test/unit/util/test_query.rb +10 -4
- data/test/unit/util/test_string.rb +9 -3
- data/test/unit/util/test_uri.rb +2 -2
- metadata +93 -51
- data/.travis.yml +0 -13
- data/bin/sup-psych-ify-config-files +0 -21
- data/test/gnupg_test_home/key1.gen +0 -15
- data/test/gnupg_test_home/key2.gen +0 -15
- data/test/gnupg_test_home/key_ecc.gen +0 -13
- data/test/gnupg_test_home/private-keys-v1.d/719C7455A7169C6EE8819C6E91002E4F9DD00A65.key +0 -1
- data/test/gnupg_test_home/private-keys-v1.d/8A130806A754AA29D59487D76BD355040D9F26C0.key +0 -0
- data/test/gnupg_test_home/private-keys-v1.d/B7AA46B22BD8A6AD1B4F266C19A3B124A32DDD71.key +0 -0
- data/test/gnupg_test_home/private-keys-v1.d/FA64ACD7CC871371BDF57285A6CDF0E618827783.key +0 -0
- data/test/integration/test_label_service.rb +0 -18
- data/test/test_yaml_migration.rb +0 -85
data/man/sup-import-dump.1
CHANGED
|
@@ -1,63 +1,50 @@
|
|
|
1
|
-
|
|
1
|
+
.\" Automatically generated by Pandoc 2.9.2.1
|
|
2
|
+
.\"
|
|
3
|
+
.TH "SUP-IMPORT-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
|
|
4
|
+
.hy
|
|
2
5
|
.SH NAME
|
|
3
6
|
.PP
|
|
4
|
-
sup
|
|
7
|
+
sup-import-dump - import message state dump to Sup index
|
|
5
8
|
.SH SYNOPSIS
|
|
6
9
|
.PP
|
|
7
|
-
sup
|
|
10
|
+
sup-import-dump [\f[I]options\f[R]] dumpfile
|
|
8
11
|
.SH DESCRIPTION
|
|
9
12
|
.PP
|
|
10
|
-
Imports message state previously exported by sup
|
|
11
|
-
sup
|
|
12
|
-
already been added using sup
|
|
13
|
-
If you need to recreate the index, see sup
|
|
13
|
+
Imports message state previously exported by sup-dump into the index.
|
|
14
|
+
sup-import-dump operates on the index only, so the messages must have
|
|
15
|
+
already been added using sup-sync.
|
|
16
|
+
If you need to recreate the index, see sup-sync --restore instead.
|
|
14
17
|
.PP
|
|
15
18
|
Messages not mentioned in the dump file will not be modified.
|
|
16
19
|
.SH OPTIONS
|
|
17
20
|
.TP
|
|
18
|
-
|
|
19
|
-
Print message ids as they\[
|
|
20
|
-
.RS
|
|
21
|
-
.RE
|
|
21
|
+
-v, --verbose
|
|
22
|
+
Print message ids as they\[cq]re processed
|
|
22
23
|
.TP
|
|
23
|
-
|
|
24
|
+
-i, --ignore-missing
|
|
24
25
|
Silently skip over messages that are not in the index
|
|
25
|
-
.RS
|
|
26
|
-
.RE
|
|
27
26
|
.TP
|
|
28
|
-
|
|
27
|
+
-w, --warn-missing
|
|
29
28
|
Warn about messages that are not in the index, but continue
|
|
30
|
-
.RS
|
|
31
|
-
.RE
|
|
32
29
|
.TP
|
|
33
|
-
|
|
30
|
+
-a, --abort-missing
|
|
34
31
|
Abort on encountering messages that are not in the index (default)
|
|
35
|
-
.RS
|
|
36
|
-
.RE
|
|
37
32
|
.TP
|
|
38
|
-
|
|
33
|
+
-t, --atomic
|
|
39
34
|
Use transaction to apply all changes atomically
|
|
40
|
-
.RS
|
|
41
|
-
.RE
|
|
42
35
|
.TP
|
|
43
|
-
|
|
44
|
-
Don\[
|
|
45
|
-
Probably only useful with
|
|
46
|
-
.RS
|
|
47
|
-
.RE
|
|
36
|
+
-n, --dry-run
|
|
37
|
+
Don\[cq]t actually modify the index.
|
|
38
|
+
Probably only useful with --verbose
|
|
48
39
|
.TP
|
|
49
|
-
|
|
40
|
+
--version
|
|
50
41
|
Show version information
|
|
51
|
-
.RS
|
|
52
|
-
.RE
|
|
53
42
|
.TP
|
|
54
|
-
|
|
43
|
+
-h, --help
|
|
55
44
|
Show help message
|
|
56
|
-
.RS
|
|
57
|
-
.RE
|
|
58
45
|
.SH SEE ALSO
|
|
59
46
|
.PP
|
|
60
|
-
sup(1), sup
|
|
47
|
+
sup(1), sup-sync(1), sup-dump(1)
|
|
61
48
|
.SH REPORTING BUGS
|
|
62
49
|
.PP
|
|
63
50
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
|
@@ -66,39 +53,31 @@ at
|
|
|
66
53
|
<https://github.com/sup-heliotrope/sup/issues>
|
|
67
54
|
.SH CONTACT INFORMATION
|
|
68
55
|
.TP
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
.RS
|
|
72
|
-
.RE
|
|
56
|
+
The Sup web page:
|
|
57
|
+
<https://sup-heliotrope.github.io/>
|
|
73
58
|
.TP
|
|
74
|
-
|
|
59
|
+
Code repository:
|
|
75
60
|
<https://github.com/sup-heliotrope/sup/>
|
|
76
|
-
.RS
|
|
77
|
-
.RE
|
|
78
61
|
.TP
|
|
79
|
-
|
|
62
|
+
Sup Wiki:
|
|
80
63
|
<https://github.com/sup-heliotrope/sup/wiki/>
|
|
81
|
-
.RS
|
|
82
|
-
.RE
|
|
83
64
|
.TP
|
|
84
|
-
|
|
85
|
-
#sup
|
|
86
|
-
.RS
|
|
87
|
-
.RE
|
|
65
|
+
Sup IRC channel:
|
|
66
|
+
#sup \[at] freenode.net
|
|
88
67
|
.TP
|
|
89
|
-
|
|
90
|
-
supmua
|
|
68
|
+
Mailing list:
|
|
69
|
+
supmua\[at]googlegroups.com
|
|
91
70
|
.RS
|
|
92
71
|
.PP
|
|
93
|
-
supmua+subscribe
|
|
72
|
+
supmua+subscribe\[at]googlegroups.com
|
|
94
73
|
.PP
|
|
95
74
|
Archives: <https://groups.google.com/d/forum/supmua/>
|
|
96
75
|
.RE
|
|
97
76
|
.SH COPYRIGHT
|
|
98
77
|
.PP
|
|
99
|
-
Copyright
|
|
78
|
+
Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
|
|
100
79
|
.PP
|
|
101
|
-
Copyright
|
|
80
|
+
Copyright \[at] 2013-2014 Sup developers
|
|
102
81
|
.PP
|
|
103
82
|
Permission is granted to copy and distribute this manual under the terms
|
|
104
83
|
of the GNU General Public License; either version 2 or (at your option)
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
.\" Automatically generated by Pandoc 2.9.2.1
|
|
2
|
+
.\"
|
|
3
|
+
.TH "SUP-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
|
|
4
|
+
.hy
|
|
2
5
|
.SH NAME
|
|
3
6
|
.PP
|
|
4
|
-
sup
|
|
7
|
+
sup-psych-ify-config-files - migrate Sup configuration
|
|
5
8
|
.SH SYNOPSIS
|
|
6
9
|
.PP
|
|
7
|
-
sup
|
|
10
|
+
sup-psych-ify-config-files
|
|
8
11
|
.SH DESCRIPTION
|
|
9
12
|
.PP
|
|
10
|
-
\f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[]
|
|
13
|
+
\f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
|
|
11
14
|
.PP
|
|
12
|
-
If sup
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
If sup-psych-ify-config-files is executed by Ruby <= 2.0 it migrates the
|
|
16
|
+
\f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it with
|
|
17
|
+
the SYCK YAML parser and emitting the results with the Psych YAML
|
|
15
18
|
emitter.
|
|
16
19
|
.PP
|
|
17
20
|
Read more on the Sup wiki
|
|
18
21
|
.PP
|
|
19
|
-
https://github.com/sup
|
|
22
|
+
https://github.com/sup-heliotrope/sup/wiki/Migration-0.13-to-0.14
|
|
20
23
|
.SH FILES
|
|
21
24
|
.TP
|
|
22
|
-
|
|
25
|
+
$HOME/.sup/config.yaml
|
|
23
26
|
Sup configuration file
|
|
24
|
-
.RS
|
|
25
|
-
.RE
|
|
26
27
|
.TP
|
|
27
|
-
|
|
28
|
+
$HOME/.sup/sources.yaml
|
|
28
29
|
Configuration file for Sup mail sources
|
|
29
|
-
.RS
|
|
30
|
-
.RE
|
|
31
30
|
.SH SEE ALSO
|
|
32
31
|
.PP
|
|
33
|
-
sup(1), sup
|
|
32
|
+
sup(1), sup-add(1), sup-config(1), sup-dump(1)
|
|
34
33
|
.SH REPORTING BUGS
|
|
35
34
|
.PP
|
|
36
35
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
|
@@ -39,39 +38,31 @@ at
|
|
|
39
38
|
<https://github.com/sup-heliotrope/sup/issues>
|
|
40
39
|
.SH CONTACT INFORMATION
|
|
41
40
|
.TP
|
|
42
|
-
|
|
43
|
-
<
|
|
44
|
-
.RS
|
|
45
|
-
.RE
|
|
41
|
+
The Sup web page:
|
|
42
|
+
<https://sup-heliotrope.github.io/>
|
|
46
43
|
.TP
|
|
47
|
-
|
|
44
|
+
Code repository:
|
|
48
45
|
<https://github.com/sup-heliotrope/sup/>
|
|
49
|
-
.RS
|
|
50
|
-
.RE
|
|
51
46
|
.TP
|
|
52
|
-
|
|
47
|
+
Sup Wiki:
|
|
53
48
|
<https://github.com/sup-heliotrope/sup/wiki/>
|
|
54
|
-
.RS
|
|
55
|
-
.RE
|
|
56
49
|
.TP
|
|
57
|
-
|
|
58
|
-
#sup
|
|
59
|
-
.RS
|
|
60
|
-
.RE
|
|
50
|
+
Sup IRC channel:
|
|
51
|
+
#sup \[at] freenode.net
|
|
61
52
|
.TP
|
|
62
|
-
|
|
63
|
-
supmua
|
|
53
|
+
Mailing list:
|
|
54
|
+
supmua\[at]googlegroups.com
|
|
64
55
|
.RS
|
|
65
56
|
.PP
|
|
66
|
-
supmua+subscribe
|
|
57
|
+
supmua+subscribe\[at]googlegroups.com
|
|
67
58
|
.PP
|
|
68
59
|
Archives: <https://groups.google.com/d/forum/supmua/>
|
|
69
60
|
.RE
|
|
70
61
|
.SH COPYRIGHT
|
|
71
62
|
.PP
|
|
72
|
-
Copyright
|
|
63
|
+
Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
|
|
73
64
|
.PP
|
|
74
|
-
Copyright
|
|
65
|
+
Copyright \[at] 2013-2014 Sup developers
|
|
75
66
|
.PP
|
|
76
67
|
Permission is granted to copy and distribute this manual under the terms
|
|
77
68
|
of the GNU General Public License; either version 2 or (at your option)
|
data/man/sup-recover-sources.1
CHANGED
|
@@ -1,61 +1,54 @@
|
|
|
1
|
-
|
|
1
|
+
.\" Automatically generated by Pandoc 2.9.2.1
|
|
2
|
+
.\"
|
|
3
|
+
.TH "SUP-RECOVER-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
|
|
4
|
+
.hy
|
|
2
5
|
.SH NAME
|
|
3
6
|
.PP
|
|
4
|
-
sup
|
|
7
|
+
sup-recover-sources - rebuild a lost Sup source configuration file
|
|
5
8
|
.SH SYNOPSIS
|
|
6
9
|
.PP
|
|
7
|
-
sup
|
|
10
|
+
sup-recover-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
|
8
11
|
.SH DESCRIPTION
|
|
9
12
|
.PP
|
|
10
13
|
Rebuilds a lost sources.yaml file by reading messages from a list of
|
|
11
|
-
sources and determining, for each source, the most prevalent
|
|
12
|
-
|
|
14
|
+
sources and determining, for each source, the most prevalent `source_id'
|
|
15
|
+
field of messages from that source in the index.
|
|
13
16
|
.PP
|
|
14
|
-
The only non
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
The only non-deterministic component to this is that if the same message
|
|
18
|
+
appears in multiple sources, those sources may be mis-diagnosed by this
|
|
19
|
+
program.
|
|
17
20
|
.PP
|
|
18
|
-
If the first N messages (
|
|
19
|
-
|
|
21
|
+
If the first N messages (--scan-num below) all have the same source_id
|
|
22
|
+
in the index, the source will be added to sources.yaml.
|
|
20
23
|
Otherwise, the distribution will be printed, and you will have to add it
|
|
21
24
|
by hand.
|
|
22
25
|
.PP
|
|
23
26
|
The offset pointer into the sources will be set to the end of the
|
|
24
|
-
source, so you will have to run sup
|
|
25
|
-
|
|
27
|
+
source, so you will have to run sup-import --rebuild for each new source
|
|
28
|
+
after doing this.
|
|
26
29
|
.SH OPTIONS
|
|
27
30
|
.TP
|
|
28
|
-
|
|
29
|
-
Mark sources as
|
|
31
|
+
--unusual
|
|
32
|
+
Mark sources as `unusual'.
|
|
30
33
|
Only usual sources will be polled by hand (default: false)
|
|
31
|
-
.RS
|
|
32
|
-
.RE
|
|
33
34
|
.TP
|
|
34
|
-
|
|
35
|
-
Mark sources as
|
|
35
|
+
--archive
|
|
36
|
+
Mark sources as `archive'.
|
|
36
37
|
New messages from these sources will not appear in the inbox (default:
|
|
37
38
|
false)
|
|
38
|
-
.RS
|
|
39
|
-
.RE
|
|
40
39
|
.TP
|
|
41
|
-
|
|
40
|
+
--scan-num N
|
|
42
41
|
Number of messages to scan per source (default: 10)
|
|
43
|
-
.RS
|
|
44
|
-
.RE
|
|
45
42
|
.TP
|
|
46
|
-
|
|
43
|
+
-h, --help
|
|
47
44
|
Show help message
|
|
48
|
-
.RS
|
|
49
|
-
.RE
|
|
50
45
|
.SH FILES
|
|
51
46
|
.TP
|
|
52
|
-
|
|
47
|
+
$HOME/.sup/sources.yaml
|
|
53
48
|
Configuration file for Sup mail sources
|
|
54
|
-
.RS
|
|
55
|
-
.RE
|
|
56
49
|
.SH SEE ALSO
|
|
57
50
|
.PP
|
|
58
|
-
sup(1), sup
|
|
51
|
+
sup(1), sup-config(1), sup-add(1), sup-import(1)
|
|
59
52
|
.SH REPORTING BUGS
|
|
60
53
|
.PP
|
|
61
54
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
|
@@ -64,39 +57,31 @@ at
|
|
|
64
57
|
<https://github.com/sup-heliotrope/sup/issues>
|
|
65
58
|
.SH CONTACT INFORMATION
|
|
66
59
|
.TP
|
|
67
|
-
|
|
68
|
-
<
|
|
69
|
-
.RS
|
|
70
|
-
.RE
|
|
60
|
+
The Sup web page:
|
|
61
|
+
<https://sup-heliotrope.github.io/>
|
|
71
62
|
.TP
|
|
72
|
-
|
|
63
|
+
Code repository:
|
|
73
64
|
<https://github.com/sup-heliotrope/sup/>
|
|
74
|
-
.RS
|
|
75
|
-
.RE
|
|
76
65
|
.TP
|
|
77
|
-
|
|
66
|
+
Sup Wiki:
|
|
78
67
|
<https://github.com/sup-heliotrope/sup/wiki/>
|
|
79
|
-
.RS
|
|
80
|
-
.RE
|
|
81
68
|
.TP
|
|
82
|
-
|
|
83
|
-
#sup
|
|
84
|
-
.RS
|
|
85
|
-
.RE
|
|
69
|
+
Sup IRC channel:
|
|
70
|
+
#sup \[at] freenode.net
|
|
86
71
|
.TP
|
|
87
|
-
|
|
88
|
-
supmua
|
|
72
|
+
Mailing list:
|
|
73
|
+
supmua\[at]googlegroups.com
|
|
89
74
|
.RS
|
|
90
75
|
.PP
|
|
91
|
-
supmua+subscribe
|
|
76
|
+
supmua+subscribe\[at]googlegroups.com
|
|
92
77
|
.PP
|
|
93
78
|
Archives: <https://groups.google.com/d/forum/supmua/>
|
|
94
79
|
.RE
|
|
95
80
|
.SH COPYRIGHT
|
|
96
81
|
.PP
|
|
97
|
-
Copyright
|
|
82
|
+
Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
|
|
98
83
|
.PP
|
|
99
|
-
Copyright
|
|
84
|
+
Copyright \[at] 2013-2014 Sup developers
|
|
100
85
|
.PP
|
|
101
86
|
Permission is granted to copy and distribute this manual under the terms
|
|
102
87
|
of the GNU General Public License; either version 2 or (at your option)
|
data/man/sup-sync-back-maildir.1
CHANGED
|
@@ -1,78 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
.\" Automatically generated by Pandoc 2.9.2.1
|
|
2
|
+
.\"
|
|
3
|
+
.TH "SUP-SYNC-BACK-MAILDIR" "1" "August 25, 2014" "Sup User Manual" ""
|
|
4
|
+
.hy
|
|
2
5
|
.SH NAME
|
|
3
6
|
.PP
|
|
4
|
-
sup
|
|
5
|
-
disk
|
|
7
|
+
sup-sync-back-maildir - Export Xapian entries to Maildir sources on disk
|
|
6
8
|
.SH SYNOPSIS
|
|
7
9
|
.PP
|
|
8
|
-
sup
|
|
10
|
+
sup-sync-back-maildir [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
|
9
11
|
.SH DESCRIPTION
|
|
10
12
|
.PP
|
|
11
13
|
This script parses the Xapian entries for a given Maildir source and
|
|
12
|
-
renames (changes maildir flags) e
|
|
14
|
+
renames (changes maildir flags) e-mail files on disk according to the
|
|
13
15
|
labels stored in the index.
|
|
14
16
|
It will export all the changes you made in Sup to your Maildirs so that
|
|
15
|
-
they can be propagated to your IMAP server with e.g.
|
|
16
|
-
offlineimap.
|
|
17
|
+
they can be propagated to your IMAP server with e.g.\ offlineimap.
|
|
17
18
|
.PP
|
|
18
19
|
The script also merges some Maildir flags into Sup such as R (replied)
|
|
19
|
-
and P (passed, forwarded), for instance suppose you have an e
|
|
20
|
+
and P (passed, forwarded), for instance suppose you have an e-mail file
|
|
20
21
|
like this: foo_bar:2,FRS (flags are favorite, replied, seen) and its
|
|
21
|
-
Xapian entry has labels
|
|
22
|
-
|
|
22
|
+
Xapian entry has labels `starred', the merge operation will add the
|
|
23
|
+
`replied' label to the Xapian entry.
|
|
23
24
|
.PP
|
|
24
|
-
If you choose not to merge (
|
|
25
|
-
|
|
26
|
-
renamed to foo_bar:2,FS.
|
|
25
|
+
If you choose not to merge (-m) you will lose information (`replied'),
|
|
26
|
+
and in the previous example the file will be renamed to foo_bar:2,FS.
|
|
27
27
|
.PP
|
|
28
|
-
Running this script is \f[I]strongly\f[] recommended when setting the
|
|
29
|
-
|
|
30
|
-
changing the
|
|
28
|
+
Running this script is \f[I]strongly\f[R] recommended when setting the
|
|
29
|
+
\[lq]sync_back_to_maildir\[rq] option from false to true in config.yaml
|
|
30
|
+
or changing the \[lq]sync_back\[rq] flag to true for a source in
|
|
31
|
+
sources.yaml.
|
|
31
32
|
.PP
|
|
32
33
|
If no source is given, the default behavior is to sync back all Maildir
|
|
33
34
|
sources marked as usual and that have not disabled sync back using the
|
|
34
35
|
configuration parameter sync_back = false in sources.yaml.
|
|
35
36
|
.SH OPTIONS
|
|
36
37
|
.TP
|
|
37
|
-
|
|
38
|
-
Don\[
|
|
39
|
-
.RS
|
|
40
|
-
.RE
|
|
38
|
+
-n, --no-confirm
|
|
39
|
+
Don\[cq]t ask for confirmation before synchronizing
|
|
41
40
|
.TP
|
|
42
|
-
|
|
43
|
-
Don\[
|
|
44
|
-
.RS
|
|
45
|
-
.RE
|
|
41
|
+
-m, --no-merge
|
|
42
|
+
Don\[cq]t merge new supported Maildir flags (R and P)
|
|
46
43
|
.TP
|
|
47
|
-
|
|
44
|
+
-l, --list-sources
|
|
48
45
|
List your Maildir sources and exit
|
|
49
|
-
.RS
|
|
50
|
-
.RE
|
|
51
46
|
.TP
|
|
52
|
-
|
|
47
|
+
-u, --unusual-sources-too
|
|
53
48
|
Sync unusual sources too if no specific source information is given
|
|
54
|
-
.RS
|
|
55
|
-
.RE
|
|
56
49
|
.TP
|
|
57
|
-
|
|
50
|
+
--version
|
|
58
51
|
Print version and exit
|
|
59
|
-
.RS
|
|
60
|
-
.RE
|
|
61
52
|
.TP
|
|
62
|
-
|
|
53
|
+
-h, --help
|
|
63
54
|
Show brief help message
|
|
64
|
-
.RS
|
|
65
|
-
.RE
|
|
66
55
|
.SH FILES
|
|
67
56
|
.TP
|
|
68
|
-
|
|
57
|
+
$HOME/.sup/sources.yaml
|
|
69
58
|
Configuration file for Sup mail sources
|
|
70
|
-
.RS
|
|
71
|
-
.RE
|
|
72
59
|
.SH SEE ALSO
|
|
73
60
|
.PP
|
|
74
|
-
sup(1), sup
|
|
75
|
-
sup
|
|
61
|
+
sup(1), sup-add(1), sup-config(1), sup-dump(1), sup-sync(1),
|
|
62
|
+
sup-tweak-labels(1)
|
|
76
63
|
.SH REPORTING BUGS
|
|
77
64
|
.PP
|
|
78
65
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
|
@@ -81,39 +68,31 @@ at
|
|
|
81
68
|
<https://github.com/sup-heliotrope/sup/issues>
|
|
82
69
|
.SH CONTACT INFORMATION
|
|
83
70
|
.TP
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
.RS
|
|
87
|
-
.RE
|
|
71
|
+
The Sup web page:
|
|
72
|
+
<https://sup-heliotrope.github.io/>
|
|
88
73
|
.TP
|
|
89
|
-
|
|
74
|
+
Code repository:
|
|
90
75
|
<https://github.com/sup-heliotrope/sup/>
|
|
91
|
-
.RS
|
|
92
|
-
.RE
|
|
93
76
|
.TP
|
|
94
|
-
|
|
77
|
+
Sup Wiki:
|
|
95
78
|
<https://github.com/sup-heliotrope/sup/wiki/>
|
|
96
|
-
.RS
|
|
97
|
-
.RE
|
|
98
79
|
.TP
|
|
99
|
-
|
|
100
|
-
#sup
|
|
101
|
-
.RS
|
|
102
|
-
.RE
|
|
80
|
+
Sup IRC channel:
|
|
81
|
+
#sup \[at] freenode.net
|
|
103
82
|
.TP
|
|
104
|
-
|
|
105
|
-
supmua
|
|
83
|
+
Mailing list:
|
|
84
|
+
supmua\[at]googlegroups.com
|
|
106
85
|
.RS
|
|
107
86
|
.PP
|
|
108
|
-
supmua+subscribe
|
|
87
|
+
supmua+subscribe\[at]googlegroups.com
|
|
109
88
|
.PP
|
|
110
89
|
Archives: <https://groups.google.com/d/forum/supmua/>
|
|
111
90
|
.RE
|
|
112
91
|
.SH COPYRIGHT
|
|
113
92
|
.PP
|
|
114
|
-
Copyright
|
|
93
|
+
Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
|
|
115
94
|
.PP
|
|
116
|
-
Copyright
|
|
95
|
+
Copyright \[at] 2013-2014 Sup developers
|
|
117
96
|
.PP
|
|
118
97
|
Permission is granted to copy and distribute this manual under the terms
|
|
119
98
|
of the GNU General Public License; either version 2 or (at your option)
|