Hi Teddor,
this is what has happend ...

Am Dienstag, 13. August 2002 16:44 schrieb Teodor Georgiev:

> 1. You should compile your Sendmail with SASL support.

First I look again if SASL support is there:

rpm -qa | grep sasl | sort
used from: http://www.owlriver.com/tips/smtp-auth.html

cyrus-sasl-1.5.24-23
cyrus-sasl-devel-1.5.24-23
cyrus-sasl-md5-1.5.24-23
cyrus-sasl-plain-1.5.24-23

> The first is to create the "site.config" m4 template for the
> compilation. I used this (and of course it is working):

I browse to:
sendmail-8.12.5/cf/ostype

Then I did a "joe site.config.m4" and entered this.

> PPENDDEF(`confENVDEF', `-DSASL2')
> APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')
> APPENDDEF(`confLIBDIRS', `-L/usr/lib/sasl')
> APPENDDEF(`confINCDIRS', `-I/usr/include')
> APPENDDEF(`confENVDEF', `-DSASL=20105')
> APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')

> Please note, this is just addition to the main site.Linux.m4
> you have to use site.Linux.m4 (unmodified template from the source)
> and site.config.m4 (this one above).
> Note, the "`-DSASL=20105'"  it says the version of SASL.
> Mine was 2.1.5 ;)

Well I should update that now ;-)
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.7.tar.gz
for not to use with Kerberos (because I do not have)

./configure --enable-krb4=no

changing in site.config.m4
APPENDDEF(`confENVDEF', `-DSASL=20105')
to
APPENDDEF(`confENVDEF', `-DSASL=20107')
accordingly ... done

> in your sendmail.mc template you have to add these lines:

Hmm, where do I find this and where to put if?
sendmail-8.12.5/cf/cf

Having an older MC-File in Place ;-)
cp /etc/mail/backup/sendmail.mc

> TRUST_AUTH_MECH(`DIGEST-MD5 PLAIN LOGIN')dnl
> define(`confAUTH_MECHANISMS', `DIGEST-MD5 PLAIN LOGIN')dnl
> define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')dnl

Ok, so far.

Now I backup current configuration

cp /usr/sbin/sendmail /root/backup/sendmail/
cp /etc/mail/* /root/backup/sendmail

Then
sendmail/sh Build -->ok
cf/cf/sh Build sendmail.cf -->not ok
 
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl 

*** WARNING: missing -T<TMPF> in argument of FEATURE(`access_db', hash 
-o /etc/mail/access.db) 

I will stop right now, because I cannot find the answer.
The complete file can be viewed at:

http://www.mamemu.de/sendmail.mc

Any hints?

bis dahin

Martin Mewes

-- 
http://www.mamemu.de/
Registered Linux User:274764 - http://counter.li.org/



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to