On Tue, 13 Jan 2004, Gaurang Pandya wrote:
>> Sure it does.
>I get following when I try logging in manually through
>telnet.
>authenticate login domain\username password
>* BAD Syntax error: Expected SPACE after LOGIN SPACE
>userid
Exactly - you're passing the username as a regular string, which isn't
proper IMAP if you want to include the '\' character. You need to encode
the username as a literal, as shown in the example.
Basically instead of just writing the username, you need to write {n}
where 'n' is the number of bytes in the username, then CRLF, then the
username.
>client for sure works well with qmail-pop3d so I dont
>think problem is at mail client end (Outlook Express).
Does Outlook not send the username as a literal?
Could you show a protocol dump?
Andy :-)
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
http://www.bincimap.org/ | than to do it poorly."