In Indy there are various authentication mechanisms SMTP can use. I have 3-part question:
a) Can I use satSASL
all the time instead of satDefault
or is there a case where satDefault
is better?
b) And what is the best order of SASL mechanisms from most secure to least secure. My order so far is:
- IdSASL_CRAMSHA1
- IdSASL_CRAMMD5
- IdSASL_Digest
- IdSASL_Login
- IdSASL_Plain
- IdSASL_OTP
- IdSASL_SKey
- IdSASL_External
- IdSASL_Anonymous
c) I plan to use the above list for POP3, SMTP, NNTP and IMAP. Have I missed a SASL mechanism in it and is there a case where the above order may not be good for the 4 mentioned protocols.
Thank you in advance.