Problems getting started with Cyrus

Miguel Mendez flynn at energyhq.homeip.net
Wed May 7 23:19:41 PDT 2003


On Wed, 7 May 2003 20:38:16 -0700
Caleb Walker <freebsd at 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 at 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 at 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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030508/6b01249c/attachment.bin


More information about the freebsd-questions mailing list