On Wed, Jan 21, 2004, [EMAIL PROTECTED] wrote:
> I think that your scrip would help, and some other tips too :-)) I've
> never used Cyrus, but read that it use an own DB, so I do not know what I
> need to do to get a cyrus mailbox.  Do I need to create them, or are they
> automaticaly build if there exist an corresponding unix account ?
>
Nothing is automatic, so take a deep breath. Once you've installed the imapd
package along with its prerequisites (sasl, db...), then review the
imapd.conf and cyrus.conf files in /opkg/etc/imapd.

Start the SASL authd server:

  # ./rc sasl start
  # ps aux | grep sasl
  root   79999  Ss    6:28PM   0:00.00 /tw/ok/sbin/saslauthd -a getpwent -n 2
  root   70994  S     6:28PM   0:00.00 /tw/ok/sbin/saslauthd -a getpwent -n 2

Start the IMAP server:

  # ./rc imapd start
  # ps aux | grep master
  sw-r   71159  I     6:27PM   0:00.02 /tw/ok/bin/cyrmaster

Start administering your IMAP server:

  # /tw/ok/bin/cyradm
  cyradm> server -noauthenticate localhost
  localhost.my.host.net> login testono
  IMAP Password:
  localhost.dev.de.cw.net> lm
  localhost.dev.de.cw.net> lam
  usage: listaclmailbox mailbox

In the above, 'testono' is a username from your /etc/passwd. The command
'lm' lists mailboxes (none yet.) I'll let you figure out the rest. You
probably want to create a mailbox for your user testono, so use 'sm' for
that.

> I tryed to convert the Courier SPEC to conform to OPenPKG but I still need
> to learn more about packaging to get it right. Now in the "hurry" I can't
> presume I'll do it right ;-(
>
Don't be in a hurry, IMAP is not a simple protocol and I've found all
available server distros to be very lacking in documentation.

-- 
[EMAIL PROTECTED]
Development Team, Operations Northern Europe
Cable & Wireless Telecommunications Services GmbH

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to