Marty Oehme
698e8a63ee
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. |
||
---|---|---|
.. | ||
aerc | ||
afew | ||
imapfilter | ||
isync | ||
notmuch | ||
sh |