lei-refresh-mail-sync(1)

LEI-REFRESH-MAIL-SYNC(1) public-inbox user manual LEI-REFRESH-MAIL-SYNC(1)

NAME

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

SYNOPSIS

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

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

DESCRIPTION

"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.

OPTIONS

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

CONTACT

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

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

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

SEE ALSO

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

1993-10-02 public-inbox.git