]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-refresh-mail-sync.pod
65150ae324c06dd701f360fb741494452fcf5441
[public-inbox.git] / Documentation / lei-refresh-mail-sync.pod
1 =head1 NAME
2
3 lei-refresh-mail-sync - refresh sync info with Maildir, IMAP
4
5 =head1 SYNOPSIS
6
7 lei refresh-mail-sync --all[=<remote|local>]
8
9 lei refresh-mail-sync MFOLDER [MFOLDER...]
10
11 =head1 DESCRIPTION
12
13 C<lei refresh-mail-sync> is intended to keep old messages
14 indexed with L<lei-index(1)> retrievable if Maildir flags change
15 a filename.  It will prune invalid entries for messages which no
16 longer exist in a Maildir.
17
18 It is also useful for ensuring L<lei-export-kw(1)> can propagate
19 keyword (flag) changes to Maildirs and IMAP folders.
20
21 It only needs read-only access to Maildirs and IMAP folders
22 and will not attempt to write to them at all.
23
24 =head1 OPTIONS
25
26 =over
27
28 =item --all
29
30 Refresh all local Maildirs and remote IMAP folders
31
32 =item --all=local
33
34 Refresh all local Maildirs
35
36 =item --all=remote
37
38 Refresh all remote IMAP folders
39
40 =back
41
42 =head1 CONTACT
43
44 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
45
46 The mail archives are hosted at L<https://public-inbox.org/meta/> and
47 L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
48
49 =head1 COPYRIGHT
50
51 Copyright all contributors L<mailto:meta@public-inbox.org>
52
53 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
54
55 =head1 SEE ALSO
56
57 L<lei-index(1)>, L<lei-export-kw(1)>, L<lei-ls-mail-sync(1)>