Re: [Exim] Exim auth - problem - part 2

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: SWS
CC: exim-users
Subject: Re: [Exim] Exim auth - problem - part 2
On Wed, 28 Nov 2001, SWS wrote:

> lookup yielded: TRBwLA8WWjWUo:11654::::::        # ???


Note this data from /etc/shadow.

> > plain:
> >   driver = plaintext
> >   public_name = PLAIN
> >   server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}\
> >                    {${extract{2}{:}{${lookup{$2}lsearch{/etc/shadow}\

                                  ^
                                  ^
That should be 1, not 2. It's the second field in /etc/shadow, but it's
the first field of the data returned by an lsearch lookup.


> SMTP>> 220 cms.pam.szczecin.pl ESMTP Exim 3.33 #1 Wed, 28 Nov 2001
> SMTP<< HELO sec
> SMTP>> 250 cms.pam.szczecin.pl Hello sec.pam.szczecin.pl [212.14.5.140]
> SMTP<< RSET
> SMTP>> 250 Reset OK
> SMTP<< RSET
> SMTP>> 250 Reset OK
> SMTP<< MAIL FROM: <testuser@???>


> auth is exclude. Why ?


The client sent HELO, not EHLO. That's basic (not extended) SMTP, which
does not include AUTH.

Stupid client, by the way. Why send RSET? Why send RSET twice???

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.