Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 08:19:32 +0200
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        Caleb Walker <freebsd@cwalk.org>
Cc:        questions@freebsd.org
Subject:   Re: Problems getting started with Cyrus
Message-ID:  <20030508081932.64a46bf3.flynn@energyhq.homeip.net>
In-Reply-To: <200305072038.16244@cwalk.org>
References:  <200305072038.16244@cwalk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.c2PD9f,3yI1zcH
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 7 May 2003 20:38:16 -0700
Caleb Walker <freebsd@cwalk.org> wrote:

Hi,

> I just installed Cyrus from the ports.  I have done everything I think
> that I was supposed to with inetd and /etc/services.  When I try to

You don't have to change anything in inetd. You have to start the imap
daemon via the script ( /usr/local/etc/rc.d/imapd.sh start), after
having properly configured cyrus.conf and imapd.conf, of course (the are
in /usr/local/etc).

Now you can see if it is indeed running:

flynn@lillemor# sockstat|grep cyrus
cyrus    imapd    57914    4 tcp4   *:143    *:*           
cyrus    master   45280   12 tcp4   *:143    *:*     
cyrus    master   45280   18 tcp4   *:993    *:*            
cyrus    master   45280   24 tcp4   *:110    *:*
cyrus    master   45280   30 tcp4   *:995    *:*
cyrus    master   45280    9 tcp6   *:143    *:*
cyrus    master   45280   15 tcp6   *:993    *:*
cyrus    master   45280   21 tcp6   *:110    *:*
cyrus    master   45280   27 tcp6   *:995    *:*
cyrus    imapd    57914   11 dgram  (none)
cyrus    imapd    57914   13 dgram  syslogd[86]:3

Now add your admin user to the sasl database using saslpasswd -c cyrus.
Check that it's properly configured:

flynn@lillemor# sudo sasldblistusers|grep cyrus
user: cyrus realm: lillemor.energyhq.es.eu.org mech: PLAIN-APOP
user: cyrus realm: lillemor.energyhq.es.eu.org mech: DIGEST-MD5
user: cyrus realm: lillemor.energyhq.es.eu.org mech: PLAIN
user: cyrus realm: lillemor.energyhq.es.eu.org mech: CRAM-MD5

flynn@lillemor# grep ^admin /usr/local/etc/imapd.conf
admins: cyrus

You also have to add users to the sasl database. Then you can use cyradm
to create their mailboxes with the cyrus administrator.

> use "cyradm -user cwalker -m login localhost" it doesnt do anything

Do you mean imtest here?

Cheers,
-- 
        Miguel Mendez - flynn@energyhq.homeip.net
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
	Tired of Spam? -> http://www.trustic.com

--=.c2PD9f,3yI1zcH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+ufb4nLctrNyFFPERAskjAKCIQ0CnGnHu7HK/F2bAH5chew7R4ACdGCqb
N0EkLj5ed1/+O/Ix8p1goLE=
=FzHr
-----END PGP SIGNATURE-----

--=.c2PD9f,3yI1zcH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030508081932.64a46bf3.flynn>