[Exim] SMTP Authentication and Outlook Express

Góra strony
Delete this message
Reply to this message
Autor: Neal M. Holtz
Data:  
Dla: exim-users
CC: Fred Williams
Temat: [Exim] SMTP Authentication and Outlook Express
I can't get LOGIN authentication to work with Outlook Express (nor
with Outlook 2000 and I suspect the problem is the same). I've
searched FAQ and archives, and can't find a solution, which is strange
as this must be a common problem.

Outlook tries to close the connection when exim provides the Login
prompt after the 'AUTH LOGIN' command.

I'm using Outlook Express 5.50+ on Win98 & Exim 3.32 on Linux.

I would be very grateful for any help.

In detail, the exchanges are (more detail below):

S 220 miranda.xx.yy ESMTP Exim 3.32 #2 Tue, 04 Sep 2001 15:05:00 -0400
C EHLO michael
S 250-miranda.xx.yy Hello michael.xx.yy [192.168.1.6]
S 250-SIZE
S 250-PIPELINING
S 250-AUTH LOGIN
S 250 HELP
C AUTH LOGIN
S 334 VXNlciBOYW1lOg==
C ??
S 334 UGFzc3dvcmQ6
C ??

My configuration is:

fixed_login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "User Name:: : Password::"
  server_condition = ${if and {{eq{$1}{ph10}}{eq{$2}{secret}}}{yes}{no}}
    server_set_id = $1


And of course, this works OK when tested via telnet.

Here is part of the capture from ethereal:

No. Source          Destination      Protocol Info
 1 client.xx.yy    server.xx.yy    TCP      2080 > smtp [SYN] Seq=361873789 Ack=0 Win=8192 Len=0
 2 server.xx.yy    client.xx.yy    TCP      smtp > 2080 [SYN, ACK] Seq=2506273448 Ack=361873790 Win=5840 Len=0
 3 client.xx.yy    server.xx.yy    TCP      2080 > smtp [ACK] Seq=361873790 Ack=2506273449 Win=8760 Len=0
 4 server.xx.yy    client.xx.yy    SMTP     Response: 220 server.xx.yy ESMTP Exim 3.32 #2 Tue, 04 Sep 2001 15:05:00 -0400
 5 client.xx.yy    server.xx.yy    SMTP     Command: EHLO client
 6 server.xx.yy    client.xx.yy    TCP      smtp > 2080 [ACK] Seq=2506273524 Ack=361873804 Win=5840 Len=0
 7 server.xx.yy    client.xx.yy    SMTP     Response: 250-server.xx.yy Hello client.xx.yy [192.168.1.6]
 8 client.xx.yy    server.xx.yy    SMTP     Command: AUTH LOGIN
 9 server.xx.yy    client.xx.yy    SMTP     Response: 334 VXNlciBOYW1lOg==
10 client.xx.yy    server.xx.yy    TCP      2080 > smtp [FIN, ACK] Seq=361873816 Ack=2506273661 Win=8548 Len=0
11 server.xx.yy    client.xx.yy    SMTP     Response: 334 UGFzc3dvcmQ6
12 client.xx.yy    server.xx.yy    TCP      2080 > smtp [RST] Seq=361873817 Ack=2506273661 Win=0 Len=0




-- 
Neal Holtz                             http://www.docuweb.ca/~nholtz
Dept. of Civil and Environmental Engineering,   Carleton University,   
Ottawa, Ontario, Canada K1S 5B6.                   nholtz@???