Re: [Exim] SMTP AUTH

Top Page
Delete this message
Reply to this message
Author: Antony Gelberg
Date:  
To: Andreas Metzler, exim-users
Subject: Re: [Exim] SMTP AUTH
Andreas Metzler wrote:
> On Tue, Sep 23, 2003 at 01:41:06PM +0200, Tamas TEVESZ wrote:
>> On Tue, 23 Sep 2003, Antony Gelberg wrote:
>>
>>  > echo -n '\0bob\0Bob123'| mimencode
>>             ^^   ^^

>>
>> these don't give you binary zeroes.
>
> Nice catch. Use echo -e -n (not available in any shell) or
> printf '\0bob\0Bob123'.
>
> Additionally Antony is using auth plain syntax with an auth login
> command, auth login expects user/pasword in $1/$2 (either given as
> argument or in response to Password and Login prompt) while auth plain
> expects them in $2/$3, i.e.
> printf 'bob\0Bob123'| mimencode
> Ym9iAEJvYjEyMw==
>
>              cu andreas


Hi Andreas, I recognise you from debian-user. :)

That all makes perfect sense. Clearly I'm on the right road, but still no
cigar:

auth login Ym9iAEJvYjEyMw==
>>> login authenticator:
>>> $1 = bob
>>> $2 = Bob123
>>> expanded string: 0

535 Incorrect authentication data

I had the (incorrect?) idea of colon-separating /etc/exim/passwd, and it
contains the line:
bob:Bob123

A