git-imap-send.txt: do verify SSL certificate for gmail.com
As a public service, it is unlikely that the Gmail server is configured to throw a certificate that does not verify at the user. Remove the `sslVerify=false` config from the Gmail example. Also, comment it in the `example.com` example, and add a note to the user explaining that they might want to uncomment it if they are having trouble connecting. While at it, use an Asciidoc 'Note' section in the Gmail example also. Based-on-patch-by: Barbu Paul - Gheorghe <barbu.paul.gheorghe@gmail.com> Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philippe Blain committed
Aug 30, 2020 at 22:01 UTC
08a694bb4b5da6310dde63b0d95838d28e6be820
1 file changed
+9
-2
Documentation/git-imap-send.txt
+9
-2
@@ -85,10 +85,17 @@ Using direct mode with SSL:
85
user = bob
86
pass = p4ssw0rd
87
port = 123
88
- sslverify = false
88
+ ; sslVerify = false
89
.........................
90
91
92
+[NOTE]
93
+You may want to use `sslVerify=false`
94
+while troubleshooting, if you suspect that the reason you are
95
+having trouble connecting is because the certificate you use at
96
+the private server `example.com` you are trying to set up (or
97
+have set up) may not be verified correctly.
98
+
99
Using Gmail's IMAP interface:
100
101
---------
@@ -97,9 +104,9 @@ Using Gmail's IMAP interface:
104
host = imaps://imap.gmail.com
105
user = user@gmail.com
106
port = 993
100
- sslverify = false
107
---------
108
109
+[NOTE]
110
You might need to instead use: `folder = "[Google Mail]/Drafts"` if you get an error
111
that the "Folder doesn't exist".
112