lei-refresh-mail-sync(1)

lei-refresh-mail-sync1

Refresh sync info with maildir, imap

Usage

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

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

Overview

"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:[email protected]>

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

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

From lei 2.1.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.