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:
#+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;