Some more information to share with you all..

I figure out the error that was previously shown (cannot find db..) is 
becoz the directories inside /var/imap doesn't exist. I created the 
following directories and grant the right cyrus:mail to all of them and 
the error has gone away.

/var/imap
/var/imap/db
/var/imap/proc
/var/imap/socket

Besides, I found that my previous installation is linking to Berkeley DB3 
and thus, I recompile everything, and yet, I am not sure if it is still a 
problem since, from ldd, I find that "master" is linking to a little bit 
different .so (the digit inside the bracket is different from the other).

The other I have done is, I have created a symbolic link at /lib which will 
link the lib-4.0.so to the real location. Since if I don't do this, I will haev 
an error saying the .so cannot be found in the /lib location when I run 
Cyradm.

uatwebmail:/lib # ldd /usr/cyrus/bin/imapd

        libdb-4.0.so => /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so 
(0x40047000)

uatwebmail:/lib # ldd /usr/cyrus/bin/master
        libdb-4.0.so => /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so 
(0x40024000)  <--------------- different from the other

uatwebmail:/lib # ldd /usr/local/sbin/saslpasswd2 
        libdb-4.0.so => /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so 
(0x40047000)

And after doing all these, I can telnet into the imap server as well as by 
using "imtest". But I have difficulty in getting into it by using Cyradm, the 
below error was show,

uatwebmail:/lib # /usr/local/bin/cyradm --auth login -u cyrus localhost
Login failed: authentication failure at /usr/lib/perl5/site_perl/5.6.1/Cyrus/
IMAP/Admin.pm line 110
cyradm: cannot authenticate to server with login as ronnie

and in /var/messages, the follwoing error was shown,

Apr 29 20:16:57 uatwebmail imapd[12297]: accepted connection
Apr 29 20:16:57 uatwebmail imapd[12297]: badlogin: 
localhost[127.0.0.1] plaintext ronnie SASL(-13): authentication failure: 
checkpass failed

I bet I am having some kind of user right problem but I have checked 
everywhere but have no idea where it is.

Regards,
Ronnie




--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Reply via email to