<DKIM> Re: test

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Dec 19 11:37:35 GMT 2016

On Mon, Dec 19, 2016 at 05:40:48AM +0000, Luke Kenneth Casson Leighton wrote:
> i'm so sorry... you can see what i'm trying to do (create convenience
> scripts) but i keep screwing up!  in case anyone's interested in what
> i'm attempting to do, here it is:
> #!/bin/sh
> # does commit with subject line, then formats patch and mails it

Here is what I use:

In ~/.gitconfig

    aliasesfile = /home/nicolas/.mutt/mail_aliases
    aliasfiletype = mutt
    chainreplyto = no
    #smtpserver = /usr/bin/sendmail
    smtpserver = /usr/bin/msmtp
    multiedit = true
    patch = format-patch -o _patches -M -C --signoff --thread

In .git/config (found in the local repository path):

    to = mailing @ list .org
    cc = <my own @ addresss .net>
    cc = mutt_alias_name

I send patches like this:

  $ rm -rf _patches
  $ git patch next
  $ # Optional: manual edit of the generated patches.
  $ git send-email _patches/*

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list