Re: Cassandane Troubles
On 2012-01-09 4:29, Greg Banks wrote: 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. I'd love to, but I don't want to mess with the system installation on '/', if you will. I also want to be able to do the same thing over and over again with multiple versions of Cyrus IMAP. I recon just creating the symbolic link /var/tmp/cyrus-imapd-2.4/bin/ - /var/tmp/cyrus-imapd-2.4/usr/cyrus/bin/ is the workaround for now then. $ 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? Cool, that's good to know. I'll find it out and make sure Fedora + RHEL will have this in the future. Kind regards, Jeroen van Meeuwen -- Systems Architect, Kolab Systems AG e: vanmeeuwen at kolabsys.com t: +44 144 340 9500 m: +44 74 2516 3817 w: http://www.kolabsys.com pgp: 9342 BF08
Fedora / Red Hat / CentOS dependencies (was: Re: Cassandane Troubles)
On 2012-01-08 13:00, Jeroen van Meeuwen (Kolab Systems) wrote: Hello there, I've packaged up the dependencies for Cassandane, so hopefully they'll be available as just packages shortly. For those of you that are packagers, I'd appreciate if you reviewed; - perl-BSD-Resource at https://bugzilla.redhat.com/show_bug.cgi?id=772617 - perl-News-NNTPClient at https://bugzilla.redhat.com/show_bug.cgi?id=772618 - perl-Encode-IMAPUTF7 at https://bugzilla.redhat.com/show_bug.cgi?id=772620 I've also enabled the alwaystrue sasl_pwcheck_method in Fedora Rawhide's cyrus-sasl package, but I won't be able to make this happen for existing Red Hat / CentOS releases I'm afraid, or not through the proper channels. I'll have those packages available through our Kolab repositories though, as we also require the httpform module to be available. Kind regards, Jeroen van Meeuwen -- Systems Architect, Kolab Systems AG e: vanmeeuwen at kolabsys.com t: +44 144 340 9500 m: +44 74 2516 3817 w: http://www.kolabsys.com pgp: 9342 BF08
Cassandane Troubles
Hello there, I'm trying to run Cassandane on my laptop, because I'm interested in writing tests and automating the execution thereof. 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. Please find that: $ 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 } SERVICES { imap listen=127.0.0.1:9100 cmd=/var/tmp/cyrus-imapd-2.4//bin/imapd -C /var/tmp/cass/cassandane/conf/imapd.conf } and; $ cat cassandane.ini | grep -v ^# [cassandane] rootdir = /var/tmp/cass [cyrus default] prefix = /var/tmp/cyrus-imapd-2.4/usr/cyrus [gdb] [config] cyrus_prefix = /usr/cyrus prefix = /var/tmp/cyrus-imapd-2.4 - 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?). Kind regards, Jeroen van Meeuwen -- Systems Architect, Kolab Systems AG e: vanmeeuwen at kolabsys.com t: +44 144 340 9500 m: +44 74 2516 3817 w: http://www.kolabsys.com pgp: 9342 BF08
Re: Cassandane Troubles
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.