LEI-REFRESH-MAIL-SYNC(1)
π LEI-REFRESH-MAIL-SYNC(1) π
ok so bestie, welcome to the public-inbox user manual β this page is lei-refresh-mail-sync, and honestly? it's giving "quiet little cleanup crew that saves your whole archive" energy. π§Ήβ¨
β¨ 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 π
okay so picture this: lei refresh-mail-sync is literally here to keep old messages that got indexed with lei-index(1) retrievable when Maildir flags change a filename. like, flags move around, filenames mutate, and your index is over there like π β this command fixes that vibe. it also prunes invalid entries for messages that no longer exist in a Maildir. bye bye ghosts π»
it's also useful for making sure lei-export-kw(1) can propagate keyword (flag) changes to Maildirs and IMAP folders. so like, your flag changes actually make it out into the world. π
and the best part? it only needs read-only access to Maildirs and IMAP folders β it will not attempt to write to them at all. not even a little bit. no cap. π«Ά
π OPTIONS π
--allβ refresh all local Maildirs and remote IMAP folders. the whole collection. go off, king π--all=localβ refresh all local Maildirs only, bestie π--all=remoteβ refresh all remote IMAP folders only, bestie βοΈ
π¬ 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/> β yes, that onion address is real, type it exactly, iykyk π§ β¨
Β©οΈ COPYRIGHT Β©οΈ
copyright all contributors <mailto:meta@public-inbox.org> π«Ά
license: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> β read it, love it, respect it π
π SEE ALSO π
lei-index(1), lei-export-kw(1), lei-ls-mail-sync(1) π
aaaaand that's the page!! π this little writeup came from public-inbox.git, dated 1993-10-02 β iconic date, honestly. stay refreshed, bestie, and may all your filenames stay retrievable ππ π₯
π¦ where this page comes from
- arch rolling: lei 2.1.0-2 Β· AGPL
- nixos 26.05: perl5.42.3-public-inbox 2.1.0
- nixpkgs unstable: perl5.42.3-public-inbox 2.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms