send-email: provide whitelist of SMTP AUTH mechanisms
commit0f2e68b54c7f85656299539de8a4aebab795d369
authorJan Viktorin <viktorin@rehivetech.com>
Tue, 11 Aug 2015 23:39:44 +0000 (12 01:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Aug 2015 20:53:16 +0000 (17 13:53 -0700)
tree9fec325a09ccf5797196e72758ada597cc43ee3c
parenta17c56c056d5fea0843b429132904c429a900229
send-email: provide whitelist of SMTP AUTH mechanisms

When sending an e-mail, the client and server must agree on an
authentication mechanism. Some servers (due to misconfiguration
or a bug) deny valid credentials for certain mechanisms. In this
patch, a new option --smtp-auth and configuration entry smtpAuth
are introduced. If smtp_auth is defined, it works as a whitelist
of allowed mechanisms for authentication selected from the ones
supported by the installed SASL perl library.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl