From 1ad2b6605a0cd868d1f6c1bebb5bc19494f904b3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 15 Oct 2023 12:43:05 +0100 Subject: [PATCH] Update README --- README.org | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/README.org b/README.org index 88c73595..b27b5da3 100644 --- a/README.org +++ b/README.org @@ -26,17 +26,14 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [ To initialise: #+begin_src bash -systemctl --user disable --now protonmail-bridge.service && podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init +podman kill protonmail-bridge && \ + podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init && \ + podman kill protonmail-bridge #+end_src and follow normal login system for cli. systemd unit handles running container on boot after this. - -Recreate and enable services after modifying: -#+begin_src bash -systemctl restart home-manager-$(whoami).service && systemctl --user restart protonmail-bridge.service -# If resetting container need to clear old mail objects and re-fetch -rm -rf $HOME/.mail/Proton/* -#+end_src +**** uidvalidity issue +Remove uid lines from .mbsyncrc (in each mail directory) and delete .uidvalidity, re-run mbsync to fix *** Password Get password from protonmail-bridge, register with gnome-keyring: #+begin_src bash @@ -59,13 +56,10 @@ On first run (or if token expires), stop systemd service and run manually to com #+begin_src bash # Restart service to ensure ~/.davmail.properties exists systemctl --user restart davmail.service -# Disable service and run to use manual authentication -systemctl --user disable --now davmail.service && davmail -notray ~/.davmail.properties -#+end_src - -Recreate and enable services after modifying: -#+begin_src bash -systemctl restart home-manager-$(whoami).service && systemctl --user restart davmail.service +# Run to use manual authentication +pkill davmail && \ + davmail -notray ~/.davmail.properties && \ + pkill davmail #+end_src * Vdirsyncer ** Password