Hi all,

This post is on SO 
<http://stackoverflow.com/questions/32086211/how-to-debug-git-send-email-failed-issue>
 
first, but get no response. So I repost it here, hope to get answers.

I want to use git send-email to send a patch. The .gitconfig file is like 
this: 

[user]
        name = Nan Xiao
        email = xxx...@chinadtrace.org
[sendemail]
        smtpencryption = ssl
        smtpserver = mail.chinadtrace.org
        smtpuser = xxx...@chinadtrace.org
        smtpserverport = 465
        smtppass = xxxxxxxxxx

The output of git send-email command is like this: 

[root@localhost linux]# git send-email --smtp-debug --to xxx...@gmail.com 
0001-xxxxxx.patch

......

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: 
server=mail.chinadtrace.org encryption=ssl hello=localhost.localdomain port=465 
at /usr/libexec/git-core/git-send-email line 1308.

The tcpdump capture packet likes this: 

tcpdump: listening on enp0s3, link-type EN10MB (Ethernet), capture size 262144 
bytes
01:45:15.201553 IP (tos 0x0, ttl 64, id 29480, offset 0, flags [DF], proto TCP 
(6), length 60)
    localhost.localdomain.38225 > cp-41.webhostbox.net.urd: Flags [S], cksum 
0xecfd (incorrect -> 0x21a6), seq 2849543224, win 29200, options [mss 
1460,sackOK,TS val 188147472 ecr 0,nop,wscale 7], length 0
01:45:16.204505 IP (tos 0x0, ttl 64, id 29481, offset 0, flags [DF], proto TCP 
(6), length 60)
    localhost.localdomain.38225 > cp-41.webhostbox.net.urd: Flags [S], cksum 
0xecfd (incorrect -> 0x1dba), seq 2849543224, win 29200, options [mss 
1460,sackOK,TS val 188148476 ecr 0,nop,wscale 7], length 0

Although I have added “--smtp-debug“ option, I still can’t analyze the root 
cause. Could anyone give some clues? Thanks very much in advance!

Best Regards

Nan Xiao
​

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to