From e5cb4057fda66962ccb710b460a363bd8aab7414 Mon Sep 17 00:00:00 2001 From: Paul Iannetta Date: Thu, 21 Apr 2022 23:39:28 +0200 Subject: add offlineimap & imapfilter confs --- .config/imapfilter/accounts.lua | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 .config/imapfilter/accounts.lua (limited to '.config/imapfilter/accounts.lua') diff --git a/.config/imapfilter/accounts.lua b/.config/imapfilter/accounts.lua new file mode 100755 index 0000000..1eb6b17 --- /dev/null +++ b/.config/imapfilter/accounts.lua @@ -0,0 +1,44 @@ +-- function get_inria_handle() +-- return IMAP { +-- server = 'zimbra.inria.fr', +-- username = get_imap_username('inria'), +-- password = get_imap_password('inria'), +-- ssl = 'ssl3', +-- } +-- end + +-- function get_ensl_handle() +-- return IMAP { +-- server = 'imaps.ens-lyon.fr', +-- username = get_imap_username('ensl'), +-- password = get_imap_password('ensl'), +-- ssl = 'ssl3', +-- } +-- end + +function get_inria_handle() + return IMAP { + server = 'localhost', + username = 'inria', + password = '', + port = 10143, + } +end + +function get_ensl_handle() + return IMAP { + server = 'localhost', + username = 'ens', + password = '', + port = 10143, + } +end + +function get_archives_handle() + return IMAP { + server = 'localhost', + username = 'archives', + password = '', + port = 10143, + } +end -- cgit v1.2.3-54-g00ecf