diff options
author | Kali Kaneko <kali@leap.se> | 2013-05-20 23:10:07 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-05-21 04:06:54 +0900 |
commit | 01a0bc796e0e12c0c4d9afd02a2c4e7ade166d11 (patch) | |
tree | 27d447500f6ff564a3c046b073cda9bc4965dad3 /src/leap/mail/imap/service | |
parent | 33289c373e4fdbb506b8486c73e5ff1a7837882f (diff) |
cleanup and complete docs
Diffstat (limited to 'src/leap/mail/imap/service')
-rw-r--r-- | src/leap/mail/imap/service/imap-server.tac | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/leap/mail/imap/service/imap-server.tac b/src/leap/mail/imap/service/imap-server.tac index e491e06..362b536 100644 --- a/src/leap/mail/imap/service/imap-server.tac +++ b/src/leap/mail/imap/service/imap-server.tac @@ -117,7 +117,7 @@ class LeapIMAPFactory(ServerFactory): def initialize_mailbox_soledad(user_uuid, soledad_pass, server_url, - server_pemfile, token): + server_pemfile, token): """ Initializes soledad by hand @@ -137,16 +137,14 @@ def initialize_mailbox_soledad(user_uuid, soledad_pass, server_url, soledad_path = os.path.join( base_config, "leap", "soledad", "%s-mailbox.db" % user_uuid) - _soledad = Soledad( user_uuid, - soledad_pass, + soledad_pass, secret_path, soledad_path, - server_url, + server_url, server_pemfile, - token, - bootstrap=True) + token) #_soledad._init_dirs() #_soledad._crypto = SoledadCrypto(_soledad) #_soledad._shared_db = None @@ -166,6 +164,7 @@ def populate_test_account(acct): inbox.addMessage(mail_sample, ("\\Foo", "\\Recent",), date="Right now2") ''' + def incoming_check(fetcher): """ Check incoming queue. To be called periodically. |