comparison conf/Init.luan @ 47:72765b66e2c3

remove mailing list code
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 18 Jun 2021 17:44:24 -0600
parents 4d90d48a19ec
children 6bd33547304f
comparison
equal deleted inserted replaced
46:7ac7f55e16cf 47:72765b66e2c3
35 Init.nabbleHost = "me.nabble.com:8080" 35 Init.nabbleHost = "me.nabble.com:8080"
36 36
37 37
38 Init.defaultHost = "me.nabble.com:8080" 38 Init.defaultHost = "me.nabble.com:8080"
39 Init.domain = Init.defaultHost 39 Init.domain = Init.defaultHost
40 Init.mailDomain = Init.defaultHost
41 Init.nabbleHost = Init.defaultHost 40 Init.nabbleHost = Init.defaultHost
42 Init.mailDomain = "me.nabble.com"
43 41
44 local popMailServer = "pop.fastmail.com"
45
46 local function getPop3Server(addr, pwd)
47 local server = MailHome.getPop3Server(popMailServer, addr, pwd)
48 server.useSsl()
49 return server
50 end
51
52 local pop3 = {
53 -- lists = 'mailingListArchivePassword'
54 -- fwd = 'fwdPassword'
55 -- ml = 'subscriptionsPassword'
56 -- sb = 'subscriptionBouncesPasword'
57 }
58
59 local pop3Servers = {
60 lists = 'mailingListArchivePop3Server'
61 fwd = 'fwdPop3Server'
62 ml = 'subscriptionsPop3Server'
63 sb = 'subscriptionBouncesPop3Server'
64 }
65
66 for name, password in pairs(pop3) do
67 Init[pop3Servers[name]] = getPop3Server( name.."@"..Init.mailDomain, password )
68 end
69 42
70 --local HashSet = require "java:java.util.HashSet" 43 --local HashSet = require "java:java.util.HashSet"
71 --Init.sysadmins = HashSet.new {} -- list of emails 44 --Init.sysadmins = HashSet.new {} -- list of emails
72 45
73 --Init.monitor_emails = {} -- list of emails 46 --Init.monitor_emails = {} -- list of emails