Re: [Exim] SMTP AUTH

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Metzler
Datum:  
To: exim-users
Betreff: Re: [Exim] SMTP AUTH
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