Hello all,
I have a problem when installing cyrus-sasl from OpenBSD ports
i did "./configure --enable-login", "make" and then "make package && make install".
I got that message saying to create a symbolic link to /usr/lib/sasl from
/usr/local/lib/sasl so i did: ln -s /usr/local/lib/sasl /usr/lib/sasl.
So the simbolic link exist.
Now i edit the /usr/lib/sasl/Sendmail.conf and put "pwcheck_method: sasldb" in it.
Then to see if that thing works i added the user: /usr/local/sbin/saslpasswd tom :
asked me for the password, verify and boom.. user has been added. Now i need to see
all my users which were added and what encryption method has been use to store the
password for that user: /usr/local/sbin/sasldblistusers : Here is the result:
user: tom realm: wincrash mech: PLAIN
From what i understand it should of say something like:
user: tom realm: wincrash mech: PLAIN
user: tom realm: wincrash mech: CRAM-MD5
user: tom realm: wincrash mech: DIGEST-MD5
And i've read somewhere that if it doesn't show the other two that means other encryption
files are not being found in: /usr/lib/sasl why?
ls /usr/lib/sasl
Sendmail.conf libcrammd5.la libdigestmd5.so.0.17
libanonymous.la libcrammd5.so.1.15 libplain.la
libanonymous.so.1.15 libdigestmd5.la libplain.so.1.14
ls /usr/local/lib/sasl
Sendmail.conf libcrammd5.la libdigestmd5.so.0.17
libanonymous.la libcrammd5.so.1.15 libplain.la
libanonymous.so.1.15 libdigestmd5.la libplain.so.1.14
ls /usr/local/include
c-client libintl.h libnet.h md5global.h sasl.h saslutil.h
hmac-md5.h libnet md5.h sasl saslplug.h tcl8.3
ls /usr/local/lib
crtln.sh libc-client.so.2.1 libintl.so.1.0 libtcl83.a sasl
joe libintl.a libnet.a libtcl83.so tcl8.3
libc-client.a libintl.la libsasl.la libtcl83.so.1.3 trafshow
libc-client.so libintl.so libsasl.so.8.8 libtclstub83.a
Thats my current info.
On sendmail.org i found something and read that modules cannot end in *.so.<number>.<number>
and there was that tool for changing it called "crtln.sh" so i ran it and it created symbolic
links to *.so.<number>.<number> with the ending of (*.so).
All that seems to be a problem of my sendmail not working with SASL, because when i do grep in sendmail for
SASL its there but thats my sendmail error log:
Mar 8 11:28:51 wincrash sendmail[11710]: SASL error: listmech=0, num=0
I did recompile sendmail with new settings to use SASL which looks like that:
cat /site.config.m4
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confENVDEF', `-DSASL=10524')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')
./Build - Recompiled fine.
cd obj.*/sendmail
./sendmail -bs -C/openbsd.cf
220 yada.yada.yada.com ESMTP Sendmail 8.11.3/8.11.3; Fri, 9 Mar 2001 14:01:47 -0800 (PST)
ehlo localhost
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
auth
503 5.3.3 AUTH not available
Now this is hell, i dont know what i'm doing wrong, if anyone of you ever tried to do it and actually
did it, could you please thell me what is wrong with my settings and install.
Thanks a lot.
Tom,