]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-send-email.txt
send-email: provide whitelist of SMTP AUTH mechanisms
[thirdparty/git.git] / Documentation / git-send-email.txt
index 7ae467ba415e5cb4413d0246883b8a620b8960e3..631f6c8076c72947e468ad54d9cf3c1d9efa3061 100644 (file)
@@ -171,6 +171,19 @@ Sending
        to determine your FQDN automatically.  Default is the value of
        'sendemail.smtpDomain'.
 
+--smtp-auth=<mechanisms>::
+       Whitespace-separated list of allowed SMTP-AUTH mechanisms. This setting
+       forces using only the listed mechanisms. Example:
++
+------
+$ git send-email --smtp-auth="PLAIN LOGIN GSSAPI" ...
+------
++
+If at least one of the specified mechanisms matches the ones advertised by the
+SMTP server and if it is supported by the utilized SASL library, the mechanism
+is used for authentication. If neither 'sendemail.smtpAuth' nor '--smtp-auth'
+is specified, all mechanisms supported by the SASL library can be used.
+
 --smtp-pass[=<password>]::
        Password for SMTP-AUTH. The argument is optional: If no
        argument is specified, then the empty string is used as