Re: [exim] authenticator returned 13

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Haber
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] authenticator returned 13
On Wed, 16 Jan 2008 18:40:40 -0800, Phil Pennock
<exim-users@???> wrote:
>To debug manually, then simplifying PLAIN a lot to ignore SASLprep
>UTF-8 normalisation and authorisation ids, the PLAIN auth is just a
>base64 encoding of an ASCII NUL, your usercode, another ASCII NUL and
>then the password.
>
>If your usercode is fred and your password is sekret, then do:
>
>$ perl -MMIME::Base64 -le '$u="fred"; $p="sekret";
>    print encode_base64("\0$u\0$p")'

>
>This yields:
> AGZyZWQAc2VrcmV0
>
>So to authenticate, you'd type:
> AUTH PLAIN AGZyZWQAc2VrcmV0
>or optionally omit the base64 on the first attempt, get a 334
>continuation prompt, then supply the authentication data.


swaks is a good tool to spare oneself from this pain.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834