Cassandane Troubles

Greg Banks gnb at fastmail.fm
Sun Jan 8 23:29:21 EST 2012



On Sun, Jan 8, 2012, at 01:00 PM, Jeroen van Meeuwen (Kolab Systems) wrote:
> Hello there,
> 
> I'm trying to run Cassandane on my laptop, because I'm interested in 
> writing tests and automating the execution thereof.

Cool, always good to have more feedback.

> Having followed the instructions in doc/setting_up.txt -liberally, I 
> must admit-, I notice that;
> 
> - While Cyrus IMAP is installed with a proverbial './configure; make; 
> make install DESTDIR=/var/tmp/cyrus-imapd-2.4/', and the binaries 
> therefore end up in /var/tmp/cyrus-imapd-2.4/usr/cyrus/bin/, the 
> configuration that Cassandane writes out refers to binaries in 
> /var/tmp/cyrus-imapd-2.4/bin/, a directory that does not exist.

It seems that this feature is currently broken, sorry :(

However if you follow section 4 in that document precisely, it should work.

> $ cat /var/tmp/cass/cassandane/conf/cyrus.conf
> START {
>    # integrity check and setup of databases
>    recover cmd="ctl_cyrusdb -C /var/tmp/cass/cassandane/conf/imapd.conf 
> -r"

This is a bug, it should have been a full path to ctl_cyrusdb.  Today I
pushed some changes from a development branch which should fix that.

> - When /var/tmp/cyrus-imapd-2.4/bin/ is created a symbolic link for, to 
> /var/tmp/cyrus-imapd-2.4/usr/cyrus/bin/, Cyrus IMAP / Cassandane 
> ultimately fails authenticating. I recon this is a Cyrus SASL thing, but 
> I was wondering whether Cassandane requires the system to have a valid 
> SASL configuration with an 'admin' user, whether any additional users 
> would be required, and whether it could be made so that no such 
> system-wide configuration is required (by starting an SASL auth daemon 
> with a different user database then the system database?).

Cassandane relies on the no-password hack in libsasl which is enabled using

sasl_pwcheck_method: alwaystrue

which might not be available on your build of libsasl?

-- 
Greg.


More information about the Cyrus-devel mailing list