[imap] Folder = "INBOX.Drafts" [imap] Tunnel = "ssh -q user@server.com /usr/bin/imapd ./Maildir 2> /dev/null" [imap] Host = imap.server.com User = bob Pass = pwd Port = 143
git-imap-send - Dump a mailbox from stdin into an imap folder
git imap-send
This command uploads a mailbox generated with git-format-patch into an imap drafts folder. This allows patches to be sent as other email is sent with mail clients that cannot read mailbox files directly.
Typical usage is something like:
git format-patch --signoff --stdout --attach origin | git imap-send
git-imap-send requires the following values in the repository configuration file (shown with examples):
[imap] Folder = "INBOX.Drafts" [imap] Tunnel = "ssh -q user@server.com /usr/bin/imapd ./Maildir 2> /dev/null" [imap] Host = imap.server.com User = bob Pass = pwd Port = 143
Doesn't handle lines starting with "From " in the message body.
Derived from isync 1.0.1 by Mike McCormack.
Documentation by Mike McCormack
Part of the git(1) suite