On Thu, Sep 11, 2008 at 12:00:33PM -0300, Diego Ledesma wrote:

>  testsaslauthd -u pruebarelay -p 1234 -f 
> /var/spool/postfix/var/run/saslauthd/mux
> 0: OK "Success."
> 
> AUTH PLAIN AHBydWViYXJlbGF5CjM0
> 535 5.7.0 Error: authentication failed: bad protocol

Wrong base64 string:

    echo AHBydWViYXJlbGF5CjM0 | openssl base64 -d | od -c
    0000000  \0   p   r   u   e   b   a   r   e   l   a   y  \n   3   4
    0000017

It should encode:

    \0<username>\0<rightpassword>
        
not,

    \0<username>\n<wrongpassword>

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to