dotfiles/mail/.config/imapfilter/config.lua

19 lines
852 B
Lua
Raw Normal View History

-- According to the IMAP specification, when trying to write a message
-- to a non-existent mailbox, the server must send a hint to the client,
-- whether it should create the mailbox and try again or not. However
-- some IMAP servers don't follow the specification and don't send the
-- correct response code to the client. By enabling this option the
-- client tries to create the mailbox, despite of the server's response.
-- This variable takes a boolean as a value. Default is “false”.
options.create = true
-- By enabling this option new mailboxes that were automatically created,
-- get auto subscribed
options.subscribe = true
-- How long to wait for servers response.
options.timeout = 120
-- set directory for imapfilter files
imapfilterdir= os.getenv("HOME") .. '/.config/imapfilter/'
loadfile(imapfilterdir .. "adverts-to-dump.lua")