Update README

This commit is contained in:
Evie Litherland-Smith 2023-10-15 12:43:05 +01:00
parent 2f60d7894c
commit 1ad2b6605a

View file

@ -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