> Depending on if the user supplies a password or not I set it to one 
> of these values. It was on smtpAuthAutoSelect, which seems to 
> trigger the "->AUTH CRAM-MD5" request. So is this a bug of 
> TSmtpCli? Should it send an AUTH request, if the command is not on 
> the list? What is the default in this case?

A quick look at comments in the V6 source code suggests the SMTP server
is at fault. 

{ RFC2554: If an AUTH command fails, the client may try another }
{ authentication mechanism by issuing another AUTH command.     }
{ If an AUTH command fails, the server MUST behave the same as  }
{ if the client had not issued the AUTH command.                }
{ We start first probe with most secure CRAM-MD5 even           }
{ though the AuthType could not be determined.}

But maybe the 553 response was not fatal, you could try to continue
sending email and see if further requests give errors.   You could also
retry setting smtpAuthNone after this error. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to