diff options
Diffstat (limited to 'src/install/mail.md')
-rw-r--r-- | src/install/mail.md | 43 |
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 |