Skip to content

Commit 08a694b

Browse files
phil-blaingitster
authored andcommitted
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 <[email protected]> Helped-by: Junio C Hamano <[email protected]> Signed-off-by: Philippe Blain <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 587e69b commit 08a694b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Documentation/git-imap-send.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,17 @@ Using direct mode with SSL:
8585
user = bob
8686
pass = p4ssw0rd
8787
port = 123
88-
sslverify = false
88+
; sslVerify = false
8989
.........................
9090

9191

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+
9299
Using Gmail's IMAP interface:
93100

94101
---------
@@ -97,9 +104,9 @@ Using Gmail's IMAP interface:
97104
host = imaps://imap.gmail.com
98105
99106
port = 993
100-
sslverify = false
101107
---------
102108

109+
[NOTE]
103110
You might need to instead use: `folder = "[Google Mail]/Drafts"` if you get an error
104111
that the "Folder doesn't exist".
105112

0 commit comments

Comments
 (0)