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.
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.
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.
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.