Re: Xapian/Cyrus/Thunderbird

2018-05-04 Thread Albert Shih
Le 04/05/2018 à 14:48:49+0200, Albert Shih a écrit
> Hi,
>
> So I've installed cyrus-imapd 3.0.5 with xapian.
>
> I configure and launch xapian according to
>
>   https://www.cyrusimap.org/imap/developer/install-xapian.html
>
> and I currently launch in a console
>
>   /usr/local/cyrus/sbin/squatter
>
> to indexe all the mail I got (imapsync).
>
> The problem is on two larges user.mailbox the first one with a
> /xapian-index/user/firstuser/*.glass and the second without (not indexes
> already), on those two mailbox I make a search from thunderbird and don't
> see any difference about the delay of the answer.

just to be very clear, I select the option in thunderbird to make the
search on server.

I also try those search throught a webmail (SOGO4), to be absolutly sure
it's not a search on the client.

Regards

--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Fri May 4 14:52:13 CEST 2018

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Xapian/Cyrus/Thunderbird

2018-05-04 Thread Albert Shih
Hi,

So I've installed cyrus-imapd 3.0.5 with xapian.

I configure and launch xapian according to

  https://www.cyrusimap.org/imap/developer/install-xapian.html

and I currently launch in a console

  /usr/local/cyrus/sbin/squatter

to indexe all the mail I got (imapsync).

The problem is on two larges user.mailbox the first one with a
/xapian-index/user/firstuser/*.glass and the second without (not indexes
already), on those two mailbox I make a search from thunderbird and don't
see any difference about the delay of the answer.

So I'm wondering if the xapian work

Is they are any way to make a test to know if xapian work or not ?

Regards
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Fri May 4 14:28:28 CEST 2018

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


caldavzap with 2.5.10

2018-05-04 Thread Neil Price
I'm trying to get caldavzap 0.12 to work with 2.5.10-3 (the one that 
comes with debian stretch)


Caldavzap works fine if I get cyrus httpd to serve it up but I have a 
reason to want to get it to work on apache + cyrus.


But on apache it stops at this point (in java console):

"Error: [netCheckAndCreateConfiguration: 'PROPFIND 
http://myserver:8008/dav/principals/user'] code: '0' status: 'error' - 
see https://www.inf-it.com/caldavzap/readme.txt (cross-domain setup)"


cyrus and caldavzap are on the same server but obviously different 
ports. I understand this to be a cross-domain setup (although curiously 
caldavzap's auto-cross-domain detection routine does not think so, so I 
force it on)


I've configured the config.js as in the docs here 
https://www.cyrusimap.org/docs/cyrus-imapd/2.5.0/install-http.php


And also set the httpdallowcors with "http://myserver";

Caldavzap docs say you should see these headers with cross-domain:

Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS, PROPFIND, 
PROPPATCH, REPORT, PUT, MOVE, DELETE, LOCK, UNLOCK
Access-Control-Allow-Headers: User-Agent, Authorization, 
Content-type, Depth, If-match, If-None-Match, Lock-Token, Timeout, Destination, 
Overwrite, Prefer, X-client, X-Requested-With
Access-Control-Expose-Headers: Etag, Preference-Applied

But this what I get

OPTIONS * HTTP/1.0

HTTP/1.1 200 OK
Connection: close
Date: Fri, 04 May 2018 10:37:52 GMT
Cache-Control: no-cache
Server: Cyrus/2.5.10-Debian-2.5.10-3 Cyrus-SASL/2.1.27 OpenSSL/1.1 Zlib/1.2.8 
LibXML2.9.4 SQLite/3.16.2 Libical/2.0 ICU4C/57.1 Jansson/2.9
DAV: 1, 2, 3, access-control, extended-mkcol
DAV: calendar-access, calendar-availability, calendar-auto-schedule
DAV: addressbook
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE
Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL
Allow: MKCALENDAR
Content-Length: 0

Does this mean it won't work or is this functionally the same?
Or does the fact that it is failing on propfind mean it is some authentication 
problem?
Would it help to go a later version of cyrus imap?


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus