Update README
This commit is contained in:
parent
2f60d7894c
commit
1ad2b6605a
24
README.org
24
README.org
|
@ -26,17 +26,14 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [
|
||||||
|
|
||||||
To initialise:
|
To initialise:
|
||||||
#+begin_src bash
|
#+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
|
#+end_src
|
||||||
and follow normal login system for cli.
|
and follow normal login system for cli.
|
||||||
systemd unit handles running container on boot after this.
|
systemd unit handles running container on boot after this.
|
||||||
|
**** uidvalidity issue
|
||||||
Recreate and enable services after modifying:
|
Remove uid lines from .mbsyncrc (in each mail directory) and delete .uidvalidity, re-run mbsync to fix
|
||||||
#+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
|
|
||||||
*** Password
|
*** Password
|
||||||
Get password from protonmail-bridge, register with gnome-keyring:
|
Get password from protonmail-bridge, register with gnome-keyring:
|
||||||
#+begin_src bash
|
#+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
|
#+begin_src bash
|
||||||
# Restart service to ensure ~/.davmail.properties exists
|
# Restart service to ensure ~/.davmail.properties exists
|
||||||
systemctl --user restart davmail.service
|
systemctl --user restart davmail.service
|
||||||
# Disable service and run to use manual authentication
|
# Run to use manual authentication
|
||||||
systemctl --user disable --now davmail.service && davmail -notray ~/.davmail.properties
|
pkill davmail && \
|
||||||
#+end_src
|
davmail -notray ~/.davmail.properties && \
|
||||||
|
pkill davmail
|
||||||
Recreate and enable services after modifying:
|
|
||||||
#+begin_src bash
|
|
||||||
systemctl restart home-manager-$(whoami).service && systemctl --user restart davmail.service
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Vdirsyncer
|
* Vdirsyncer
|
||||||
** Password
|
** Password
|
||||||
|
|
Loading…
Reference in a new issue