README updates

Update instructions for setting up email
This commit is contained in:
Evie Litherland-Smith 2023-10-09 07:53:04 +01:00
parent b2f3c13a9b
commit 2143d20ec0

View file

@ -23,19 +23,16 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [
To initialise: To initialise:
#+begin_src bash #+begin_src bash
systemctl --user stop protonmail-bridge.service \ systemctl --user disable --now protonmail-bridge.service && podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init
&& podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init \
&& systemctl --user start protonmail-bridge.service
#+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.
Run src_bash[Rebuild]{rebuild} to recreate and enable services after modifying
*** 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
secret-tool store --label="Proton mail mbsync" email e.litherlandsmith@proton.me 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 #+end_src
** iCloud ** iCloud
*** Password *** Password
@ -52,10 +49,10 @@ secret-tool store --label="UKAEA mail mbsync" email evie.litherland-smith@ukaea.
*** Configuration *** 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). 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 #+begin_src bash
systemctl --user stop davmail.service \ systemctl --user disable --now davmail.service && nix run nixpkgs#davmail -- -notray ~/.davmail.properties
&& nix run nixpkgs#davmail -- -notray ~/.davmail.properties \
&& systemctl --user start davmail.service
#+end_src #+end_src
Run src_bash[Rebuild]{rebuild} to recreate and enable services after modifying
* Vdirsyncer * Vdirsyncer
** Password ** Password
Register app-password with gnome-keyring; Register app-password with gnome-keyring;