>Cyrus IMAP on Hardy Heron #2

>Cyrus IMAP on Hardy Heron #2

>See the previous post to this for the first steps. Note, I posted the following on the Ubuntu forums here and there may end up being feedback there to read.

Please note I am just trying to get a simple cyrus install working so I can test some python code that wants a cyrus server. This is probably insecure, toxic, illegal in most countries and prone to spontaneous combustion.

I just want to create some mailboxes (I’m not even sending mail to them!). I’ve changed my permissions as per the previous post and I’m trying to use cyradm to administer my server. cyradm doesn’t seem to want to administrate anything. It wants a password and nothing seems to work. This is what I did.

apt-get install sasl2-bin

Then edit /etc/default/saslauthd as it suggests and set START=yes

/etc/init.d/saslauthd start

edit /etc/imap.conf and make sure that the following two settings are uncommented and with these values

admins: cyrus
...
sasl_pwcheck_method: saslauthd

restart cyrus and log in with

cyradm -u cyrus --auth login localhost

Oh, you may need to set the cyrus user passwd first. Just become root and set it with passwd. Now you can login and create a mailbox.

localhost> cm ijc
createmailbox: System I/O error

Or maybe not – another permissions error it turns out.

chown -R cyrus /var/spool/cyrus

Log back in again and … weeeeeeee

localhost> cm ijc
localhost> lm
ijc (\HasNoChildren)
localhost>

There, nice and simple. Cough.

Leave a Reply

Your email address will not be published. Required fields are marked *