From 25f2c15ff5a998ecd3fa825a0d8d445da208a9b1 Mon Sep 17 00:00:00 2001 From: luckman212 <1992842+luckman212@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:40:47 -0400 Subject: [PATCH] update --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a0682ac..2f8b775 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ A bare minimum config file must contain at least the `dest_dir` and `token` keys } ``` -> N.B. — The configuration is now in JSON format +> **N.B.** — The configuration is now in JSON format > Versions prior to 1.1 stored configuration as YAML. This was changed to JSON because Python can read _and_ write it without requiring the PyYAML module. > > If you're not comfortable converting your legacy config file to JSON by hand, I suggest using [`yq`][5]: @@ -56,10 +56,6 @@ Progress messages will be printed to the console. When the job is finished, you This is designed to run quickly and often, so running it daily is no problem and should complete within a minute or two. It's a good idea to stick it in your crontab or set up a LaunchAgent to trigger it at regular intervals. I suggest [LaunchControl][3] (no affiliation) if you're on a Mac and don't want to fiddle about with XML files. -## Verification - -Every so often, it's a good idea to run the script with the `--verify` argument. This will be slower, but will thoroughly check that every message in your mailbox exists on the filesystem, and will "fill in the blanks" if any are missing. - ## Setup (Docker) Some have requested a Docker configuration to make it easier to set up and run, so I'm providing the basic instructions below. I have limited experience creating Docker images, so please make any suggestions or corrections via the [issue tracker][2]. @@ -135,6 +131,10 @@ Example of pre/post commands in config file (`~` chars will be expanded by Pytho - Export `JMAP_DEBUG` to `True` to see additional debugging info printed to the console. - You can export `NOT_BEFORE` to override the default of `2000-01-01` or whatever date is specified in the config file +## Verification + +Every so often, it's a good idea to run the script with the additional `--verify` argument. This will be slower, but will thoroughly check that every message in your mailbox exists on the filesystem, and will "fill in the blanks" if any are missing. + ## Good luck I've been using this script for a few months with good success, but it has been tested on exactly _one_ system! So you may encounter issues. If you do, please [report them][2].