summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-07-28 17:42:10 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-07-28 17:42:10 -0500
commit15359e4a060c2a854284c3bc833136619fa92e78 (patch)
tree3aa8de59f83f12042fe9a0fe22c311fc997b428d
parent6e908ed3c875e6c048a53bc72b8f2710b3cf9c1d (diff)
feat: add mail services setup
-rw-r--r--src/install/mail.md43
1 files changed, 41 insertions, 2 deletions
diff --git a/src/install/mail.md b/src/install/mail.md
index 583f9d4..3485db3 100644
--- a/src/install/mail.md
+++ b/src/install/mail.md
@@ -19,7 +19,22 @@ Install isync (provides `mbsync`) for actually syncing to imap server,
goimapnotify to only run mbsync when new mail is available,
```console
-pacman -S isync goimapnotify notify-send
+pacman -S isync goimapnotify
+```
+
+Create the local maildir and enable the service.
+
+```console
+mkdir -p $XDG_DATA_HOME/mail/gmail
+systemctl --user enable --now goimapnotify@gmail.service
+```
+
+It's probably a good idea to run the mbsync service once manually, as the
+initial sync can take a long time depending on the size and IMAP configuration
+of the remote mailbox.
+
+```console
+systemctl --user start mbsync.service
```
### Notifications
@@ -33,6 +48,30 @@ The notification script requires `notify-send`.
pacman -S libnotify
```
+And enable the service.
+
+```console
+systemctl --user enable --now maildir-notify.service
+```
+
+### Feeds
+
+```console
+pacman -S rss2email
+```
+
+```console
+mkdir -p $XDG_DATA_HOME/mail/feeds
+```
+
+```console
+systemctl --user enable --now rss2email.timer
+```
+
+```console
+systemctl --user start rss2email.service
+```
+
## Mail User Agent
Provided that both the MSA and MRA are both configured, aerc can provide a nice
@@ -57,7 +96,7 @@ HTML can be rendered using w3d. `socksify`, provided by dante, is used to
prevent emails from phoning home.
```console
-pacman -S dante w3d
+pacman -S --asdep dante w3d
```
#### Documents