dotfiles/mail/.config/imapfilter
Marty Oehme 698e8a63ee
mail: Refactor imapfilter configuration
Make imapfilter configuraiton more flexible to prepare for different
filters being added.

The program will expect its configuration and filter files to be located
in XDG directory structure, within the sub-folder 'filters'.
E.g.: `/home/user/.config/imapfilter/filters`

A global `configDir` variable is available for any filters, which
describes the path to the current configuration directory.
The path to the filter directory can also be accessed through
`getFilterDir()`.

The configuration runs `accounts.lua` and expects it to return a table
with the individual imap boxes as top level entries, so that filters can
then loop through each account as needed.

Lastly, the config will automatically apply all filters found in the
filters sub-folder. A filter is a '.lua' file within the directory.
Other files can exist in the dir and will not be touched.
2020-09-23 17:55:07 +02:00
..
filters mail: Add afew automatic tagging 2020-09-23 17:55:06 +02:00
accounts.lua mail: Add basic filtering system 2020-09-23 17:55:06 +02:00
config.lua mail: Refactor imapfilter configuration 2020-09-23 17:55:07 +02:00