Help with Cyrus
Jan Sneep
jan at azureservices.ca
Mon Jun 11 17:11:43 UTC 2007
Why is EVERYTHING in LINUX so complicated and SOOO frustrating to get
ANYTHING to work ?????
Why are there tons and tons of documents that contain every concevable
configuration thing, but NEVER anything on how to actually use the program
once you have it installed?!?!?!?
Sorry for the rant, but I've been trying since January to get ONE, yes just
ONE thing working on a Linux box and it is SO frustrating. :O(
I've been trying to get OpenExchange working, but that is proving very
elusive, like everything else. One of the suggestions from the OpenExcahnge
forum is to get Cyrus working as that has helped some get the OpenExchange
installer to work. So today's task is to try and verify that Cyrus is
working properly.
I installed the Ubuntu LAMP server just a few weeks ago now and I used the
Synaptic Package manager to install Cyrus2.2. and as far as I can tell it is
running. When I type "/etc/init.d/cyrus2.2 status" in a terminal window, the
response is "cyrmaster running with PID 7119".
But how do you actaully use it now that it is running? I installed the
documentation package with Synaptic as well.
In the file;
file:///usr/share/doc/cyrus-doc-2.2/html/install-configure.html
They talk about creating a user called cyrus and a group called mail, don't
actually tell you how to do this, but do warn you of the consequences of not
using those names? Anyways, the document then rambles on about steps to
install the software, but thanks to Synaptic, I think it is installed and
working. So I go to System -> Administration -> Users and Groups and try to
add a user "cyrus", but even though it is not shown as an existing user,
just "root" and "jan" are shown as users, I can't add user "cyrus" because
that name a ready exists. I can however add a group called "mail", which I
do, but have no way to add "cyrus" as a user in that group?
So I go to see if I can find another document on the Ubuntu web site;
https://help.ubuntu.com/community/Cyrus?highlight=%28cyrus%29
I go down to the section on Mailbox creation;
First, you have define a "password" for the user admin for the cyrusadm.
With root make this:
# saslpasswd2 -c cyrus
Password: TYPE YOUR CYRUS PASSWORD HERE
Again (for verification): RETYPE YOUR CYRUS PASSWORD
The only password I know is the one I use for sudo commands, so I type that
one in and it works, or at least it looks like it does; but then the next
step fails,
root at ubuntu:/opt/open-xchange/sbin# saslpasswd2 -c cyrus
Password:
Again (for verification):
root at ubuntu:/opt/open-xchange/sbin# cyradm --user cyrus localhost
IMAP Password:
Login failed: authentication failure at
/usr/lib/perl5/Cyrus/IMAP/Admin.pm line 119
cyradm: cannot authenticate to server as cyrus
And yet the next step in the instructions is to test an execute this
command;
root at ubuntu:/opt/open-xchange/sbin# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK ubuntu Cyrus IMAP4 v2.2.13-Debian-2.2.13-10ubuntu2 server ready
- logout
* BYE LOGOUT received
- OK Completed
Connection closed by foreign host.
So can anyone help? Does anyone know if I need to add a cyrus user and a
mail group? If so how do I add cyrus as a user?
Help!
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070611/0b2d4bfc/attachment.html>
More information about the ubuntu-users
mailing list