What do the security and authentication features of the SMTP Indy component do?

I am using indy components to implement email in a delphi application. I specifically use the TidSMTP component. I need to efficiently support all major mail servers. I use Mozilla Thunderbird as my email client and compare the smtp properties with the components in the TidSMTP component. I tried to find documentation describing the relationship between TidSMTP properties, but could not understand it.

Can someone explain how they compare and what they do:

  • In Thunderbird: connection security: (no, STARTTLS, SSL / TLS).
  • In TidSMTP.UseTLS (utNoTLSSupport, utUseImplicitTLS, utUseRequireTLS, utUseExplicitTLS)

  • In Thunderbird: authentication method: (no authentication, regular password, encrypted password, Kerberos / GSSAPI, NTLM)

  • In TidSMTP (username, password, useAuthentication method)

I also see other TidSMTP properties: UseEhlo, UseVerp, UseNagle. Do I need to use them? What are they doing?

+5
source share
1 answer

STARTTLS, . , STARTTLS, , SSL/TLS . SSL/TLS , SSL/TLS SSL/TLS, . UseTLS=utUseExplicitTLS Indy. UseEHLO True, UseTLS=utUseExplicitTLS, EHLO , TIdSMTP , STARTTLS .

SSL/TLS STARTTLS , SSL/TLS , . UseTLS=utUseImplicitTLS Indy. STARTTLS.

TIdSMTP : ( ) AUTH LOGIN , SMTP, SMTP- / SASL (Kerberos, GSSAPI, NTLM, .. SASL).

SASL, TIdSMTP.AuthType satSASL, TIdSMTP.SASLMechanisms, TIdSASL , . Indy SASL DIGEST-MD5, CRAM-MD5, CRAM-SHA1, NTLM (), ANONYMOUS, EXTERNAL, OTP, PLAIN, SKEY LOGIN ( SASL AUTH LOGIN). (, Kerberos GSSAPI), TIdSASL. , Username/Password, TIdUserPassProvider, SASL ( TIdSMTP.UserName TIdSMTP.Password SASL). SASL , , .

, AUTH LOGIN, TIdSMTP.AuthType, satDefault ( TIdSMTP.ValidateAuthLoginCapability False, AUTH LOGIN, EHLO), TIdSMTP.UserName TIdSMTP.Password TIdSASLLogin TIdSMTP.SASLMechanisms.

UseVerp UseNagle . VERP - SMTP - . Nagle - .

+15

All Articles