---------- Forwarded message ---------- Date: Tue, 2 Sep 2003 09:16:36 -0700 (PDT) From: Mike Allen <[EMAIL PROTECTED]> To: Pat Lashley <[EMAIL PROTECTED]> Cc: Ken Murchison <[EMAIL PROTECTED]>, [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Fatal error: tls_start_servertls
Thanks to Ken and Pat for their great help. Please see my comments interspersed with yours below. Mike Allen On Tue, 2 Sep 2003, Pat Lashley wrote: > --On Monday, September 01, 2003 21:08:25 -0400 Ken Murchison > <[EMAIL PROTECTED]> wrote: > > >> There is no /etc/sasldb file. There is a /usr/local/etc/sasldb2 file > >> and the result of the 'file' command on it yields: > >> > >> sasldb2: Berkeley DB (Hash, version 8, native byte-order) > >> > >> I compiled cyrus-imapd2 as a 'port' on my FreeBSD machine with > >> nothing but default options. > > > > Well, since your saskdb2 file is in a non-default location, you're going > > to have to tell the library where it is. You should have at least these > > options: > > > > sasl_pwcheck_method: auxprop > > sasl_sasldb_path: /usr/local/etc/sasldb2 > > No, that shouldn't be necessary - the FreeBSD port makes that the default > location at compile time. (In FreeBSD, non-bundled software is normally > installed in /usr/local rather than in the system directories.) > > Check ownership and permissions. Verify that it is readable by user > cyrus. (Or whatever userid you specify in /usr/local/etc/imapd.conf. > The FreeBSD port uses 'cyrus' by default.) It is fine. [mail2] /usr/local/etc# ls -ld sasldb2 -rw-r----- 1 cyrus mail 49152 Aug 28 11:05 sasldb2 > > Also, run sasldblistusers2 to verify that you have an entry in the > database. There appears to be no users in the database. This will be fixed shortly. > > And check to make sure that the imapd was actually built using the > right version of cyrus-sasl. Run 'ldd /usr/local/cyrus/bin/imapd' > It should use libsasl.so.3. [mail2] ~# ldd /home/cyrus/bin/imapd /home/cyrus/bin/imapd: libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x2813a000) Is this OK? libdb3.so.3 => /usr/local/lib/libdb3.so.3 (0x2814e000) libssl.so.3 => /usr/lib/libssl.so.3 (0x281da000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x2820b000) libmd.so.2 => /usr/lib/libmd.so.2 (0x28316000) libwrap.so.3 => /usr/lib/libwrap.so.3 (0x28320000) libc.so.5 => /usr/lib/libc.so.5 (0x28328000) [mail2] ~# I note the location of imapd. It is not in any existing path. I'll change that shortly also. > > > > -Pat > Thanks again for all your help. Mike Allen