diff 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
line wrap: on
line diff
--- a/conf/Init.luan	Mon Jun 14 15:35:05 2021 -0600
+++ b/conf/Init.luan	Fri Jun 18 17:44:24 2021 -0600
@@ -37,35 +37,8 @@
 
 Init.defaultHost = "me.nabble.com:8080"
 Init.domain = Init.defaultHost
-Init.mailDomain = Init.defaultHost
 Init.nabbleHost = Init.defaultHost
-Init.mailDomain = "me.nabble.com"
-
-local popMailServer = "pop.fastmail.com"
-
-local function getPop3Server(addr, pwd)
-	local server = MailHome.getPop3Server(popMailServer, addr, pwd)
-	server.useSsl()
-	return server
-end
 
-local pop3 = {
---	lists = 'mailingListArchivePassword'
---	fwd = 'fwdPassword'
---	ml = 'subscriptionsPassword'
---	sb = 'subscriptionBouncesPasword'
-}
-
-local pop3Servers = {
-	lists = 'mailingListArchivePop3Server'
-	fwd = 'fwdPop3Server'
-	ml = 'subscriptionsPop3Server'
-	sb = 'subscriptionBouncesPop3Server'
-}
-
-for name, password in pairs(pop3) do
-	Init[pop3Servers[name]] = getPop3Server( name.."@"..Init.mailDomain, password )
-end
 
 --local HashSet = require "java:java.util.HashSet"
 --Init.sysadmins = HashSet.new {}  -- list of emails