couchdb.http.Unauthorized error
i installed latest leap-mx built today (leap-mx_0.8.0alpha+020151208110527.51+wheezy~1.gbp9085a1_all.deb), and it throws a couchdb.http.Unauthorized error trying to deliver a mail:
root@cat:~# swaks -f varac@leap.se -t varac@unstable.bitmask.net === Trying cat.unstable.bitmask.net:25... === Connected to cat.unstable.bitmask.net. <- 220 cat.unstable.bitmask.net ESMTP Postfix -> EHLO cat.unstable.bitmask.net <- 250-cat.unstable.bitmask.net <- 250-PIPELINING <- 250-SIZE 10240000 <- 250-VRFY <- 250-ETRN <- 250-STARTTLS <- 250-ENHANCEDSTATUSCODES <- 250-8BITMIME <- 250 DSN -> MAIL FROM: <- 250 2.1.0 Ok -> RCPT TO: <- 250 2.1.5 Ok -> DATA <- 354 End data with . -> Date: Tue, 08 Dec 2015 13:14:44 +0000 -> To: varac@unstable.bitmask.net -> From: varac@leap.se -> Subject: test Tue, 08 Dec 2015 13:14:44 +0000 -> X-Mailer: swaks v20120320.0 jetmore.org/john/code/swaks/ -> -> This is a test mailing -> -> . <- 250 2.0.0 Ok: queued as 7830387002D -> QUIT <- 221 2.0.0 Bye === Connection closed with remote host. root@cat:~# mailq -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- A0D0D87002D* 2184 Tue Dec 8 13:14:44 leap-mx@cat.unstable.bitmask.net varac@leap.se -- 2 Kbytes in 1 Request.
Dec 8 13:13:44 cat postfix/smtpd[24489]: connect from localhost[0.0.0.0] Dec 8 13:13:44 cat postfix/smtpd[24489]: warning: connect to Milter service unix:/run/clamav/milter.ctl: No such file or directory Dec 8 13:13:44 cat postfix/smtpd[24489]: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory Dec 8 13:13:44 cat postfix/smtpd[24489]: B30FB87C008: client=localhost[0.0.0.0] Dec 8 13:13:44 cat postfix/cleanup[24520]: B30FB87C008: message-id=<20151208131344.B30FB87C008@cat.unstable.bitmask.net> Dec 8 13:13:44 cat postfix/qmgr[29344]: B30FB87C008: from=, size=531, nrcpt=1 (queue active) Dec 8 13:13:44 cat postfix/smtpd[24489]: disconnect from localhost[0.0.0.0] Dec 8 13:13:44 cat postfix/virtual[24569]: B30FB87C008: to=<1f7d7da2d0a27c15fdc14d84141f634d@deliver.local>, orig_to=, relay=virtual, delay=0.17, delays=0.13/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Dec 8 13:13:44 cat postfix/qmgr[29344]: B30FB87C008: removed Dec 8 13:13:44 cat postfix/pickup[20426]: DD96787C008: uid=42424 from= Dec 8 13:13:44 cat postfix/cleanup[24400]: DD96787C008: message-id=<20151208131344.DD96787C008@cat.unstable.bitmask.net> Dec 8 13:13:44 cat postfix/qmgr[29344]: DD96787C008: from=, size=2184, nrcpt=1 (queue active) Dec 8 13:13:45 cat postfix/smtp[24423]: Untrusted TLS connection established to cricket.leap.se[0.0.0.0]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) Dec 8 13:13:54 cat postfix/smtp[24423]: DD96787C008: to=, relay=cricket.leap.se[0.0.0.0]:25, delay=9.5, delays=0.05/0.02/0.1/9.3, dsn=4.3.0, status=deferred (host cricket.leap.se[0.0.0.0] said: 451 4.3.0 : Temporary lookup failure (in reply to RCPT TO command))
2015-12-02 10:09:29+0000 [HTTP11ClientProtocol,client] Error processing skipped mail: '/var/mail/leap-mx/Maildir/new/1448401431.Vca01I8011f80M220888.cat' 2015-12-02 10:09:29+0000 [HTTP11ClientProtocol,client] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult _inlineCallbacks(r, g, deferred) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) --- --- File "/usr/lib/python2.7/dist-packages/leap/mx/mail_receiver.py", line 358, in _process_skipped yield self._step_process_mail_backend(fpath) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/dist-packages/leap/mx/mail_receiver.py", line 416, in _step_process_mail_backend do_remove = yield self._export_message(uuid, doc) File "/usr/lib/python2.7/dist-packages/leap/mx/mail_receiver.py", line 250, in _export_message db = CouchDatabase(self._mail_couch_url, "user-%s" % (uuid,)) File "/usr/lib/python2.7/dist-packages/leap/soledad/common/couch.py", line 431, in __init__ self._database.info() File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 563, in info _, _, data = self.resource.get_json() File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 393, in get_json status, headers, data = self.get(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 374, in get return self._request('GET', path, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 302, in request raise Unauthorized(error) couchdb.http.Unauthorized: ('unauthorized', 'You are not authorized to access this db.')
(from redmine: created on 2015-12-08, closed on 2015-12-08)