cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl 7.21.0 SMTP - duplication of login credentials

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 19 Jul 2012 17:14:38 +0200

 
Alona Rossen wrote:

> We observed duplication of user name when sending emails via SMTP
protocol with curl 7.21.0.

> AUTH PLAIN YWxvbmEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

> AUTH LOGIN XXXXXXXXXXXXXXXXXXXXXXXXX

You are comparing two different authentication mechanisms: PLAIN and
LOGIN

For an explanantion why userid is duplicated in the AUTH PLAIN
mechanism, see
http://tools.ietf.org/rfc/rfc4616.txt top of page 3, message =... and
the related comments.

As an illustration, see paragraphs "Example SMTP AUTH Session using AUTH
PLAIN" and "Example SMTP AUTH Session using AUTH LOGIN" on page at
http://www.gadgetwiz.com/protocols/smtp-auth-example.html.

Patrick

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-19