dotfiles/mail
Marty Oehme 5a256186c2
mail: Add basic filtering system
imapfilter now looks for account information in an accounts.lua file in
its configuration directory -- the file should return account
information as a table with each account being a top-level entry in the
table.

A sample spam-moving script has been supplied:
For now, it will take a list of sender addresses and put everything in
the list from the inbox into the dump directory.

An example list of senders has been supplied for testing purposes, but
this should eventually be read from a file containing an extensible list
of senders (and perhaps even different properties such as subject, etc.)

The imapfilter xdg alias has been fixed.

Coherence between the imap folder structure and notmuch tagging system
still has to be achieved -- either by aerc using the folder structure as
a query map, or notmuch tags automatically being applied for specific
imap filtering options.
2020-09-23 17:55:06 +02:00
..
.config mail: Add basic filtering system 2020-09-23 17:55:06 +02:00
.local/bin mail: Add basic filtering system 2020-09-23 17:55:06 +02:00
README.md mail: Initial commit 2020-09-23 17:55:05 +02:00

e-mail module

aerc - terminal mail client isync - mirror your Imapped mail directory locally with two way synchronization notmuch - index and search your mail

The current mail setup uses mbsync (from the isync project) to locally mirror the GMail imap folder. It, as of now, needs to be manually run by invoking mbsync gmail -- which expects your username and password to reside in a pass accessible file called misc/aerc-gmail-app-password. In other words --- this is very specific to my setup and if transferring the options, please customize to your needs.

Then, notmuch can be run on the local maildir to generate and indexed full-text search engine. Right now, notmuch can only be used through its cli, it is not yet connected to aerc.

aerc picks up the maildir created by mbsync in ~/documents/mail and works on it. mbsync syncs any changes made back to the remote imap directory.