Re: [Exim] Compiling AUTH with tls support

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Héctor Garcia Peris
Datum:  
To: exim-users
Betreff: Re: [Exim] Compiling AUTH with tls support
At 09:58 12/12/01 +0100, you wrote:
>Hello,
>
>I'm trying to compile exim with auth and tls, but it doesn't work fine. I'm
>uncommented the following parameters in the makefile:
>
>AUTH_CRAM_MD5=yes
>AUTH_PLAINTEXT=yes
>SUPPORT_TLS=yes
>TLS_LIBS=-L/usr/local/lib -lssl -lcrypto
>TLS_INCLUDE=-I/usr/local/openssl/include/
>
>I have the openssl version 0.9.6 compiled locally in the directories named
>before.
>The problem when I send a message with ssl authentification the email
>reader (netscape 6) answers me that smtp server is not well configured. The
>parameters in the configure file are:
>
>auth_over_tls_hosts = *
>host_auth_accept_relay = *
>
>fixed_plain:
>     driver = plaintext
>     public_name = PLAIN
>     server_condition = ${if and{{eq{$2}{user}}{eq{$3}{password}}}{yes}{no}}
>     server_set_id = $2

>
>fixed_login:
>     driver = plaintext
>     public_name = LOGIN
>     server_prompts = User Name : Password
>     server_condition = ${if and {{eq{$1}{user}}{eq{$2}{password}}}{yes}{no}}
>     server_set_id = $1

>
>fixed_cram:
>    driver = cram_md5
>    public_name = CRAM-MD5
>    server_secret = ${if eq{$1}{user}{password}fail}
>    client_name = user
>    client_secret = password

>
>What is wrong?


I have found the problem, the problem was that I don't put the
tls_certificate and tls_privatekey parameters, now It works.

Well, not works fine. It works when I use Netscape 6.2 to send mail, but it
doesn't work when I use Eudora or Netscape 4.7.

When I use Eudora the error message is

Error reading from network      Cause: (0)


and when I use Netscape 4.7 the error message is

An error occurring while sending mail: SMTP error. The server responded:
(null)

Which could be the reason for this?

P.D.: All mail readers are in the same machine.


---------------------------------------------------------------------
Héctor Garcia Peris
Dpto. Informática
Instituto Valenciano de Investigaciones Económicas S.A. (Ivie)
C/ Guardia Civil, 22 esc-2 1º 46020 - Valencia (Spain)
Tfno.: +34 - 963190050 / +34 - 963930816
Fax.: +34 - 963190055 / +34 - 963930856
e-mail: hector.garcia@???
----------------------------------------------------------------------