1GIT-IMAP-SEND(1)                  Git Manual                  GIT-IMAP-SEND(1)
2
3
4

NAME

6       git-imap-send - Send a collection of patches from stdin to an IMAP
7       folder
8

SYNOPSIS

10       git imap-send
11

DESCRIPTION

13       This command uploads a mailbox generated with git format-patch into an
14       IMAP drafts folder. This allows patches to be sent as other email is
15       when using mail clients that cannot read mailbox files directly. The
16       command also works with any general mailbox in which emails have the
17       fields "From", "Date", and "Subject" in that order.
18
19       Typical usage is something like:
20
21       git format-patch --signoff --stdout --attach origin | git imap-send
22

CONFIGURATION

24       To use the tool, imap.folder and either imap.tunnel or imap.host must
25       be set to appropriate values.
26
27   Variables
28       imap.folder
29           The folder to drop the mails into, which is typically the Drafts
30           folder. For example: "INBOX.Drafts", "INBOX/Drafts" or
31           "[Gmail]/Drafts". Required to use imap-send.
32
33       imap.tunnel
34           Command used to setup a tunnel to the IMAP server through which
35           commands will be piped instead of using a direct network connection
36           to the server. Required when imap.host is not set to use imap-send.
37
38       imap.host
39           A URL identifying the server. Use a imap:// prefix for non-secure
40           connections and a imaps:// prefix for secure connections. Ignored
41           when imap.tunnel is set, but required to use imap-send otherwise.
42
43       imap.user
44           The username to use when logging in to the server.
45
46       imap.pass
47           The password to use when logging in to the server.
48
49       imap.port
50           An integer port number to connect to on the server. Defaults to 143
51           for imap:// hosts and 993 for imaps:// hosts. Ignored when
52           imap.tunnel is set.
53
54       imap.sslverify
55           A boolean to enable/disable verification of the server certificate
56           used by the SSL/TLS connection. Default is true. Ignored when
57           imap.tunnel is set.
58
59       imap.preformattedHTML
60           A boolean to enable/disable the use of html encoding when sending a
61           patch. An html encoded patch will be bracketed with <pre> and have
62           a content type of text/html. Ironically, enabling this option
63           causes Thunderbird to send the patch as a plain/text, format=fixed
64           email. Default is false.
65
66       imap.authMethod
67           Specify authenticate method for authentication with IMAP server.
68           Current supported method is CRAM-MD5 only.
69
70   Examples
71       Using tunnel mode:
72
73           [imap]
74               folder = "INBOX.Drafts"
75               tunnel = "ssh -q -C user@example.com /usr/bin/imapd ./Maildir 2> /dev/null"
76
77       Using direct mode:
78
79           [imap]
80               folder = "INBOX.Drafts"
81               host = imap://imap.example.com
82               user = bob
83               pass = p4ssw0rd
84
85       Using direct mode with SSL:
86
87           [imap]
88               folder = "INBOX.Drafts"
89               host = imaps://imap.example.com
90               user = bob
91               pass = p4ssw0rd
92               port = 123
93               sslverify = false
94

CAUTION

96       It is still your responsibility to make sure that the email message
97       sent by your email program meets the standards of your project. Many
98       projects do not like patches to be attached. Some mail agents will
99       transform patches (e.g. wrap lines, send them as format=flowed) in ways
100       that make them fail. You will get angry flames ridiculing you if you
101       don’t check this.
102
103       Thunderbird in particular is known to be problematic. Thunderbird users
104       may wish to visit this web page for more information:
105       http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
106

AUTHOR

108       Derived from isync 1.0.1 by Mike McCormack.
109

DOCUMENTATION

111       Documentation by Mike McCormack
112

GIT

114       Part of the git(1) suite
115
116
117
118Git 1.7.4.4                       04/11/2011                  GIT-IMAP-SEND(1)
Impressum