Commit graph

9 commits

Author SHA1 Message Date
Marty Oehme 03684ce29f
office: Rename mail module to office module
Reflecting the somewhat expanding scope of the module, renamed it to
office. Still keeps the old files and setups but also got a new README
file.
2022-12-08 13:43:44 +01:00
Marty Oehme 88d5520b55
mail: Change deprecated mbsync setting 2022-12-08 13:43:42 +01:00
Marty Oehme bd71cfc168
mail: Use new neomutt styling, extend html view 2022-03-19 11:36:28 +01:00
Marty Oehme ea95ca7dfa
mail: Update mail-check to work with pass-coffin
Updated code to be able to run a password command chosen individually,
as well as a post-password command.

Used in this instance to `pass open` a password store in a coffin/tomb
before actually trying to read passwords out of it.
2022-01-28 18:32:58 +01:00
Marty Oehme f4c3944519
mail: Switch aerc for neomutt, simplify maildir
Made mail dir synchronization simpler - only a couple of important
directories will ever get synchronized to the local file system, but
still containing basically all important incoming mails.

Removed aerc and switched it for neomutt. aerc is very nice and needs
little to no configuration but neomutt is, as of this moment, just more
stable and mature. It opens quickly, never crashes, has a nice indexing
and quick e-mail handling behavior and is incredibly customizable.
Basically, once you put in some configuration effort, it is everything
aerc isn't --- and that is good, both have their reasons for existing.
It's just that mutt currently works better for me and will thus be the
e-mail reader of choice from now on.
2021-10-10 23:04:24 +02:00
Marty Oehme c5cd2b6a8d
mail: Enable direct pgp decryption
When called over systemd, pass will not display a pin-entry field to
decrypt the necessary passwords for email synching.

This prepares automatic background synching.
2020-09-24 14:22:03 +02:00
Marty Oehme 3bbb7d0360
mail: Add checkmail routine
Added script to call for checking mail. Will run individual pre- and
post-hooks. (By default, imapfilter and notmuch update.)

Simple options can be changed through environment variables:

Hooks can be set to different scripts with MBSYNC_PRE and
MBSYNC_POST, respectively.

Will also run mbsync repeatedly, until it exits without error. By
default it will try running it 3 times before giving up, this can be set
with MBSYNC_MAX_TRIES.

No functional imapfilters have been added yet.

mbsync and imapfilter both adhere to the XDG base directory layout
(somewhat), checking for their option files in .config/{isync,imapfilter}
respectively.

Everything still pending changes, the mail eco-system is hard to
wrap one's head around.
2020-09-23 17:55:05 +02:00
Marty Oehme 674b1cfeac
mail: Add aerc notmuch configuration 2020-09-23 17:55:05 +02:00
Marty Oehme 7871442bcd
mail: Initial commit 2020-09-23 17:55:05 +02:00