I hope that I'm not making some blatantly obvious mistake here, but when attempting to use git imap-send
, in the command git format-patch --signoff --stdout --attach --root HEAD | git imap-send -v
, I get this (error repeated once for each patch):
$ git format-patch --signoff --stdout --attach --root HEAD | git imap-
send -v
sending 21 messages
* Trying 192.168.1.22...
* Connected to mail.tdstoragebay.com (192.168.1.22) port 143 (#0)
* Server auth using Basic with user 'user'
> PUT /INBOX HTTP/1.1
Host: mail.tdstoragebay.com:143
Authorization: Basic auth-token
Accept: */*
Content-Length: 3233
Expect: 100-continue
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] TD-StorageBay Dovecot ready.
PUT BAD Error in IMAP command received by server.
Host: BAD Error in IMAP command received by server.
* BYE Too many invalid IMAP commands.
* Connection #0 to host mail.tdstoragebay.com left intact
* Found bundle for host mail.tdstoragebay.com: 0x1f59250 [serially]
* Connection 0 seems to be dead!
* Closing connection 0
It seems to me that git imap-send
is attempting to send HTTP data to my IMAP server. All the documentation I've read seems says nothing about this behavior, and imap-send
uses normal IMAP. If this is the case, what is going on, and more importantly, how can it be fixed?
Git version: 2.7.4
OS: Linux Mint 18.3
Git configuration:
imap.host=imap://mail.tdstoragebay.com (internal server)
imap.port=143
imap.folder=INBOX