> Use sasldb.  Add users with saslpasswd2 -c {username}.  Be sure to set
> LUSER_RELAY or whatever your MDAs equivalent is.  And then you don't need
posix
> accounts.
>
>From the saslauthd's doc, sasldb is disabled by default, so how do i invoke
saslauthd - a sasldb

My current ./configure for SASL
export #CPPFLAGS=" -I/usr/local/BerkeleyDB.4.0/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib"
./configure --enable-plain --disable-krb4 --with-saslauthd=var/run/saslauthd
 --with-ldap --with-dblib-berkeley

My current ./configure for IMAP
export CPPFLAGS="-I/usr/include/et"
./configure --with-sasl=/usr/local/lib --with-perl --with-auth=unix --with-s
sl --with-dbdir=/usr/local/BerkeleyDB.4.0 --with-ucdsnmp=no

Since I'm struggling with OpenLDAP setup, please advise me on the changes
required to support sasldb instead of LDAP.
Do I still need BerkeleyDB?

Thanks,
henry

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Henry" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 7:44 PM
Subject: Re: request help on setting IMAP


> >My intention is to create a mail server that is based on own database,
not
> >using linux's user database for my LAN using a web-based interface,
> >squirrelmail that is.
> >I have finally compiled BerkeleyDB, Cyrus-SASL and Cyrus-IMAP
> >I'm only able to start sasl using "-a shadow"
> >I think that by using "shadow", it  will utilise the same user db that is
> >used by Linux's user database. I would prefer to use another simple
internal
> >db or file. Any suggestion on which easy-to-setup mechanism?
>
> Use sasldb.  Add users with saslpasswd2 -c {username}.  Be sure to set
> LUSER_RELAY or whatever your MDAs equivalent is.  And then you don't need
posix
> accounts.
>
> >Another problem that occurs when i try to create mailbox in cyradm:
auth.log
> >perl: unable to dlopen /usr/lib/sasl2/libsasldb.so.2: libdb-4.0.so:
cannot
> >open shared object file: No such file or directory
> >perl: unable to dlopen /usr/lib/sasl2/libotp.so.2: libdb-4.0.so: cannot
open
> >shared object file: No such file or directory
> >perl: No worthy mechs found
> >Any hint on where did i foul up?
>
> Something is unhappy with db4, the library isn't available or your
software
> version doesn't support it.
>

Reply via email to