Mark Crispin wrote:
It looks to me that you can not use CRAM-MD5 authentication if you allow user names with a space.
This is addressed in draft-ietf-sasl-crammd5: when extracting digest the server should look for the rightmost space. Everything to the left is a username.
So, spaces are allowed.
Other mechanisms, such as PLAIN, use a NUL as the delimiter.
Alexey
