summaryrefslogtreecommitdiff
path: root/.config/imapfilter/accounts.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/imapfilter/accounts.lua')
-rwxr-xr-x.config/imapfilter/accounts.lua44
1 files changed, 44 insertions, 0 deletions
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