DOKK / manpages / debian 12 / lei / lei-refresh-mail-sync.1.en
LEI-REFRESH-MAIL-SYNC(1) public-inbox user manual LEI-REFRESH-MAIL-SYNC(1)

lei-refresh-mail-sync - refresh sync info with Maildir, IMAP

lei refresh-mail-sync --all[=<remote|local>]

lei refresh-mail-sync MFOLDER [MFOLDER...]

"lei refresh-mail-sync" is intended to keep old messages indexed with lei-index(1) retrievable if Maildir flags change a filename. It will prune invalid entries for messages which no longer exist in a Maildir.

It is also useful for ensuring lei-export-kw(1) can propagate keyword (flag) changes to Maildirs and IMAP folders.

It only needs read-only access to Maildirs and IMAP folders and will not attempt to write to them at all.

Refresh all local Maildirs and remote IMAP folders
Refresh all local Maildirs
Refresh all remote IMAP folders

Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>

The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>

Copyright all contributors <mailto:meta@public-inbox.org>

License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>

lei-index(1), lei-export-kw(1), lei-ls-mail-sync(1)

1993-10-02 public-inbox.git