From 2143d20ec07f462784f788cb98e7b249fa94640b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 9 Oct 2023 07:53:04 +0100 Subject: [PATCH] README updates Update instructions for setting up email --- README.org | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 75ae04e8..d74c29ae 100644 --- a/README.org +++ b/README.org @@ -23,19 +23,16 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [ To initialise: #+begin_src bash -systemctl --user stop protonmail-bridge.service \ - && podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init \ - && systemctl --user start protonmail-bridge.service +systemctl --user disable --now protonmail-bridge.service && podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init #+end_src and follow normal login system for cli. - systemd unit handles running container on boot after this. + +Run src_bash[Rebuild]{rebuild} to recreate and enable services after modifying *** Password Get password from protonmail-bridge, register with gnome-keyring: #+begin_src bash secret-tool store --label="Proton mail mbsync" email e.litherlandsmith@proton.me -# Start service if stopped earlier -systemctl --user start protonmail-bridge.service #+end_src ** iCloud *** Password @@ -52,10 +49,10 @@ secret-tool store --label="UKAEA mail mbsync" email evie.litherland-smith@ukaea. *** Configuration On first run (or if token expires), stop systemd service and run manually to complete manual auth. Token will stay valid for a little while (no idea how long specifically). #+begin_src bash -systemctl --user stop davmail.service \ - && nix run nixpkgs#davmail -- -notray ~/.davmail.properties \ - && systemctl --user start davmail.service +systemctl --user disable --now davmail.service && nix run nixpkgs#davmail -- -notray ~/.davmail.properties #+end_src + +Run src_bash[Rebuild]{rebuild} to recreate and enable services after modifying * Vdirsyncer ** Password Register app-password with gnome-keyring;