Re: [Exim] SMTP AUTH and mail clients

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Héctor Garcia Peris
Data:  
Para: exim-users
Asunto: Re: [Exim] SMTP AUTH and mail clients
At 09:33 13/12/01 +0100, you wrote:
>Hello list,
>
>I hope that is the last problem with SMTP authentification. I've configured
>exim with the following properties to allow relay using authentification:
>
>host_auth_accept_relay = *
>auth_over_tls_hosts = *
>tls_advertise_hosts = *
>tls_certificate = /etc/exim/certificate
>tls_privatekey = /etc/exim/privatekey
>
>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

>
>Now I'm probing with differents mail readers and I have the following
>problems:
>
>1- Netscape 6.2: It works. The first time to connect to the smtp server, it
>ask for accepting the machine certificate and ask for the user and password
>correctly (using ssl).
>
>2- Eudora 5.1: Not works. When I use it gives me this error message:
>         Error reading from network      Cause: (0)



I put the output from tcpdump when I send a message with eudora 5.1
12:18:18.837268 hgarcia.ivie.es.2103 > VA1-1D-u-0670.mc.onolab.com.smtp: S
9525338:9525338(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
12:18:18.837310 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: S
3519603411:3519603411(0) ack 9525339 win 32120 <mss 1460,nop,nop,sackOK> (DF)
12:18:18.969128 hgarcia.ivie.es.2103 > VA1-1D-u-0670.mc.onolab.com.smtp: .
ack 1 win 8760 (DF)
12:18:28.582528 hgarcia.ivie.es.2103 > VA1-1D-u-0670.mc.onolab.com.smtp: F
1:1(0) ack 1 win 8760 (DF)
12:18:28.582550 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: .
ack 2 win 32120 (DF)
12:18:48.964434 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: P
1:77(76) ack 2 win 32120 (DF)
12:18:48.964633 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: FP
77:123(46) ack 2 win 32120 (DF)
12:18:51.964040 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: FP
1:123(122) ack 2 win 32120 (DF)
12:18:57.964041 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: FP
1:123(122) ack 2 win 32120 (DF)
12:19:09.964041 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: FP
1:123(122) ack 2 win 32120 (DF)
12:19:33.964039 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2103: FP
1:123(122) ack 2 win 32120 (DF)
12:19:34.105830 hgarcia.ivie.es.2103 > VA1-1D-u-0670.mc.onolab.com.smtp: R
9525340:9525340(0) win 0



>3- Netscape 4.7: Not works. When I use it gives me the following error
>message:
>         An error occurring while sending mail: SMTP error. The server
>responded:
>                 (null)


When I send form other machine in linux I can send the message correctly. I
put the output of tcpdump when I send a message with netscape 4.7 in windows:
12:33:52.655965 hgarcia.ivie.es.2185 > VA1-1D-u-0670.mc.onolab.com.smtp: S
10452554:10452554(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
12:33:52.656007 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2185: S
223997157:223997157(0) ack 10452555 win 32120 <mss 1460,nop,nop,sackOK> (DF)
12:33:52.772726 hgarcia.ivie.es.2185 > VA1-1D-u-0670.mc.onolab.com.smtp: .
ack 1 win 8760 (DF)
12:34:02.035248 hgarcia.ivie.es.2185 > VA1-1D-u-0670.mc.onolab.com.smtp: P
1:7(6) ack 1 win 8760 (DF)
12:34:02.035283 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2185: .
ack 7 win 32120 (DF)
12:34:02.036899 hgarcia.ivie.es.2185 > VA1-1D-u-0670.mc.onolab.com.smtp: F
7:7(0) ack 1 win 8760 (DF)
12:34:02.036912 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.2185: .
ack 8 win 32120 (DF)


>4- Outlook express 5: Not works. It ask me the user and password from the
>smtp machine before the connection to the machine and it responds:
>         550 relaying to <hector.garcia@???> prohibited by
>administrator', Port: 25,
>         Security (SSL): No, Server error: 550, Error number: 0x800CCC79


And I put the output of tcpdump when I send in OE:
11:00:30.854184 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: S
4873273:4873273(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
11:00:30.854222 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: S
2889372095:2889372095(0) ack 4873274 win 32120 <mss 1460,nop,nop,sackOK> (DF)
11:00:30.974529 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: .
ack 1 win 8760 (DF)
11:01:00.974488 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: P
1:77(76) ack 1 win 32120 (DF)
11:01:01.098141 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: P
1:16(15) ack 77 win 8684 (DF)
11:01:01.098174 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: .
ack 16 win 32120 (DF)
11:01:01.098365 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: P
77:183(106) ack 16 win 32120 (DF)
11:01:01.268402 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: P
16:49(33) ack 183 win 8578 (DF)
11:01:01.268506 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: P
183:234(51) ack 49 win 32120 (DF)
11:01:01.396580 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: P
49:83(34) ack 234 win 8527 (DF)
11:01:01.396835 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: P
234:303(69) ack 83 win 32120 (DF)
11:01:01.522531 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: P
83:89(6) ack 303 win 8458 (DF)
11:01:01.522615 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: P
303:346(43) ack 89 win 32120 (DF)
11:01:01.522837 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: F
346:346(0) ack 89 win 32120 (DF)
11:01:01.641496 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: F
89:89(0) ack 346 win 8415 (DF)
11:01:01.641560 VA1-1D-u-0670.mc.onolab.com.smtp > hgarcia.ivie.es.1846: .
ack 90 win 32120 (DF)
11:01:01.646242 hgarcia.ivie.es.1846 > VA1-1D-u-0670.mc.onolab.com.smtp: .
ack 347 win 8415 (DF)


>Any ideas to solve this problems?
>
>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@???
----------------------------------------------------------------------