Dear all, In preparation of adding NTLM support and other features to SMTP I have enclosed a preliminary patch to performs the following:
* Modify the order of the preferred authentication method to: AUTH CRAM-MD5, AUTH LOGIN then AUTH PLAIN. AUTH PLAIN should be the last as it is less secure than AUTH LOGIN as the username and password are sent together - there is no handshaking between the client and server like there is with AUTH LOGIN. * Correct the line length of line 1359 as this was 80 characters long. * Tidied up some spacing issues after functions and between variable assignment operators. Any comments or suggestions welcome. If folks are happy with this, I will work on the next patch to add some of my new features over the next couple of days such as: * Add the ability for authenticated connections to send the initial response from "AUTH mechanism [initial-response]" in a second command, after receiving a 334 to the "AUTH mechanism" from the server. * Add support for the AUTH parameter in the MAIL command which is mostly used by servers relaying emails to other servers. For example: MAIL FROM:<login.acco...@domain.com> AUTH=email.addr...@domain.com Kind Regards Steve
0001-Modified-the-order-of-the-preferred-authentication-m.patch
Description: Binary data
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html