Hello,

I am trying to install Cyrus-SASL-2.1.3 and Cyrus-IMAPD-2.1.2 with BerkeleyDB 4.0 
into my SuSE 7.3 machine. But I have problem in accessing the IMAP server after
the installation.

The configuration is as follows,

System : Suse Linux 7.3 Kernl 2.4.10
Libc : GNU C Library stable release version 2.2.4
C Compiler : Compiled by GNU CC version 2.95.3 20010315 (SuSE).

I build the above mentioned software as follows,

Berkelery4.0
------------
../dist/configure

ln -fs /usr/local/BerkeleyDB.4.0/include /usr/include/db3
ln -fs /usr/local/BerkeleyDB.4.0/include/db.h /usr/include/db.h

* The symbolic link is needed so that the SASL and IMAPD can be compiled 
properly. And yet, I have the db-3.1.17 installed with a previous RPM installation.
The libdb-3.so can be found in /usr/lib.

Compile openssl with the following switches
-------------------------------------------
./config --prefix=/usr/local 
--openssldir=/usr/local/openssl


Compile SASL as follows... 
--------------------------
./configure --disable-krb4 --disable-gssapi --enable-login 
--with-bdb-libdir=/usr/local/BerkeleyDB.4.0/lib 
--with-bdb-incdir=/usr/local/BerkeleyDB.4.0/include 
--disable-otp --with-pwcheck


Convert the sasldb -> sasldb2
-----------------------------
utils/dbconverter-2


Compile imapd-2.1.3 with the following switches
-----------------------------------------------
./configure --with-dbdir=/usr/local/BerkeleyDB.4.0  --with-sasl=/usr/local/lib/sasl2 
--without-krb --with-perl=/usr/bin/perl --with-openssl=/usr/local/openssl

2nd try...
./configure --with-dbdir=/usr/local/BerkeleyDB.4.0 --with-sasl=/usr/local/lib/sasl2 
--without-krb --host=localhost --with-cyrus-user=cyrus --disable-sieve 
--with-auth=unix --with-perl=/usr/bin/perl --with-openssl=/usr/local/openssl 


Imapd.conf
----------------
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
autocreatequota: 40000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: auxprop
altnamespace: yes
unixhierarchysep: yes


And after all these, I start up the IMAPD server by running "/usr/cyrus/bin/master &", 
and
when I try the following command,

"imtest -a cyrus -u cyrus -m login localhost", I was greeted with the followings,

C: C01 CAPABILITY
S: * OK uatwebmail Cyrus IMAP4 v2.1.3 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID 
NO_ATOMIC_RENAME UNSELECT 
CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
S: C01 OK Completed
Password:
C: L01 LOGIN cyrus {10}
+ go ahead
C: <omitted>
L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0

My question is, 

1. I want to install with sasldb auth, since I will be having Sendmail using the for 
authentication as well in our webmail system.
Are there any option I have forgotten to fit into my ./configure for SASL and IMAPD?

2. I have read somewhere about runnig "ldd" with some argument after IMAPD has been 
installed, do I need to do so if I already 
have the path of the lib (/usr/lib) inserted in the /etc/ld.so.conf?

3. In the impad.conf, should I use sasl_pwcheck_method = auxprop for SASLDB?

Many thanks for your kindness and sorry about the lengthy posting.

Regards,
Ronnie



Reply via email to