Mercurial > libervia-backend
comparison src/plugins/plugin_misc_imap.py @ 412:62b17854254e
database integration: first draft
- using SQLite as backend
/!\ Not finished yet, break execution. SàT CAN'T LAUNCH PROPERLY IN THE CURRENT STATE
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 30 Oct 2011 23:13:40 +0100 |
parents | 0ecd9c33fa3a |
children | 866dbb0d7d87 |
comparison
equal
deleted
inserted
replaced
411:b109a79ac72f | 412:62b17854254e |
---|---|
442 | 442 |
443 def clientConnectionLost(self, connector, reason): | 443 def clientConnectionLost(self, connector, reason): |
444 debug (_("IMAP server connection lost (reason: %s)"), reason) | 444 debug (_("IMAP server connection lost (reason: %s)"), reason) |
445 | 445 |
446 def buildProtocol(self, addr): | 446 def buildProtocol(self, addr): |
447 debug ("Building protocole") | 447 debug ("Building protocol") |
448 prot = protocol.ServerFactory.buildProtocol(self, addr) | 448 prot = protocol.ServerFactory.buildProtocol(self, addr) |
449 prot.portal = portal.Portal(ImapRealm(self.host)) | 449 prot.portal = portal.Portal(ImapRealm(self.host)) |
450 prot.portal.registerChecker(SatProfileCredentialChecker(self.host)) | 450 prot.portal.registerChecker(SatProfileCredentialChecker(self.host)) |
451 return prot | 451 return prot |