Hello,

I installed Sendmail 8.11.1 with no problems.  I was running the Sendmail 
Single Switch 2.0.0 product, but un-installed it to go with the freeware 
Sendmail package instead.  I am sending and receiving mail with no 
problems.

But, now I want to try and set up SMTP Auth in Sendmail.  I installed 
Cyrus 1.5.24 with the --enable login switch, using the default 
directories for install.  Here is the structure of /usr/local/lib:

[root@apple lib]# ls -l
total 204
-rwxr-xr-x    1 root     root          683 Oct  8 16:20 libsasl.la
lrwxrwxrwx    1 root     root           16 Oct  8 16:20 libsasl.so -> 
libsasl.so
.7.1.8
lrwxrwxrwx    1 root     root           16 Oct  8 16:20 libsasl.so.7 -> 
libsasl.
so.7.1.8
-rwxr-xr-x    1 root     root       194091 Oct  8 16:20 libsasl.so.7.1.8
drwxr-xr-x    2 root     root         4096 Oct  8 16:20 sasl

Here is the structure of /usr/local/lib/sasl:

total 328
-rwxr-xr-x    1 root     root          702 Oct  8 16:20 libanonymous.la
lrwxrwxrwx    1 root     root           22 Oct  8 16:20 libanonymous.so 
-> libanonymous.so.1.0.15
lrwxrwxrwx    1 root     root           22 Oct  8 16:20 libanonymous.so.1 
-> libanonymous.so.1.0.15
-rwxr-xr-x    1 root     root        48078 Oct  8 16:20 
libanonymous.so.1.0.15
-rwxr-xr-x    1 root     root          690 Oct  8 16:20 libcrammd5.la
lrwxrwxrwx    1 root     root           20 Oct  8 16:20 libcrammd5.so -> 
libcrammd5.so.1.0.15
lrwxrwxrwx    1 root     root           20 Oct  8 16:20 libcrammd5.so.1 
-> libcrammd5.so.1.0.15
-rwxr-xr-x    1 root     root        55497 Oct  8 16:20 
libcrammd5.so.1.0.15
-rwxr-xr-x    1 root     root          717 Oct  8 16:20 libdigestmd5.la
lrwxrwxrwx    1 root     root           22 Oct  8 16:20 libdigestmd5.so 
-> libdigestmd5.so.0.0.17
lrwxrwxrwx    1 root     root           22 Oct  8 16:20 libdigestmd5.so.0 
-> libdigestmd5.so.0.0.17
-rwxr-xr-x    1 root     root       100020 Oct  8 16:20 
libdigestmd5.so.0.0.17
-rwxr-xr-x    1 root     root          690 Oct  8 16:20 liblogin.la
lrwxrwxrwx    1 root     root           17 Oct  8 16:20 liblogin.so -> 
liblogin.so.0.0.5
lrwxrwxrwx    1 root     root           17 Oct  8 16:20 liblogin.so.0 -> 
liblogin.so.0.0.5
-rwxr-xr-x    1 root     root        47985 Oct  8 16:20 liblogin.so.0.0.5
-rwxr-xr-x    1 root     root          692 Oct  8 16:20 libplain.la
lrwxrwxrwx    1 root     root           18 Oct  8 16:20 libplain.so -> 
libplain.so.1.0.14
lrwxrwxrwx    1 root     root           18 Oct  8 16:20 libplain.so.1 -> 
libplain.so.1.0.14
-rwxr-xr-x    1 root     root        46615 Oct  8 16:20 
libplain.so.1.0.14

Here is the structure of /usr/local/include:

total 72
-rw-r--r--    1 root     root         1262 Oct  8 16:20 hmac-md5.h
-rw-r--r--    1 root     root         1432 Oct  8 16:20 md5.h
-rw-r--r--    1 root     root         1007 Oct  8 16:20 md5global.h
-rw-r--r--    1 root     root        35390 Oct  8 16:20 sasl.h
-rw-r--r--    1 root     root        17530 Oct  8 16:20 saslplug.h
-rw-r--r--    1 root     root         2560 Oct  8 16:20 saslutil.h

Here is the contents of my site.config.m4 file that I used during the re-
compile of Sendmail:

[root@apple Site]# less site.config.m4
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')

Here is a copy of my config.mc file that I used to create the sendmail.cf 
file:

OSTYPE(`linux')dnl
include(`../m4/cf.m4')dnl
define(`confTRUSTED_USER', `mail')dnl
LOCAL_CONFIG
# Location of SASL settings
ESASL_PATH=/usr/lib/sasl
define(`MAIL_SETTINGS_DIR', `/etc/mail/')dnl
MASQUERADE_AS(`stikman.com')dnl
RELAY_DOMAIN(`stikman.com turners.com')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
ifdef(`SENDMAIL_COMMERCIAL_CONFIG', `define(`confQUEUE_FILE_MODE', `
0640')')dnl
undefine(`BITNET_RELAY')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
undefine(`UUCP_RELAY')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confAUTO_REBUILD', `')dnl
define(`confDEF_USER_ID', `8:12')dnl
define(`confDONT_BLAME_SENDMAIL', 
`groupwritabledirpathsafe,forwardfileingroupwritabledirpath,groupwritable
forwardfilesafe')dnl
define(`confDONT_PROBE_INTERFACES', `true')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST', `true')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`access_db')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail', `/usr/bin/procmail')dnl
FEATURE(`mailertable', `hash -o /etc/mail/mailertable')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`redirect')dnl
FEATURE(`relay_entire_domain')dnl
FEATURE(`relay_local_from')dnl
FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl


When I start up Sendmail, this is the error message I get:

./sendmail: error in loading shared libraries: libsasl.so.7: cannot open 
shared
object file: No such file or directory

Does anybody have any ideas that could help me out here?  It is probably 
a pretty easy fix, that I am missing.

One more question.  How do you re-compile Sendmail to use the 
site.config.m4 file again?  When I run sh Build, it will not see any 
changes I make to the site.config.m4 file.  I have to delete the obj 
directory that is created.

Thank you,
Jeff
-- 
Jeff Grossman ([EMAIL PROTECTED])



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to