git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: pascal@obry.net
Cc: git list <git@vger.kernel.org>
Subject: Re: smtp server on windows
Date: Sat, 4 Sep 2010 14:24:46 +0000	[thread overview]
Message-ID: <AANLkTi=5f3+g9HrssNKj99PHr_2ymxGWmM=NjHwc94j2@mail.gmail.com> (raw)
In-Reply-To: <4C8251A0.1020809@obry.net>

On Sat, Sep 4, 2010 at 14:03, Pascal Obry <pascal.obry@gmail.com> wrote:

> This is using the default account as specified in my .msmtprc. I want to
> use a specific account (say gmail) for this repository, I tried:
>
> [sendemail]
>        smtpserver = /usr/sbin/msmtp --account=gmail
>
> but this fails as smtpserver is expecting a simple executable. Is there
> a way to pass some parameters to an smtpserver specified on a Git
> configuration?

No, but you could modify this bit in git-send-email.perl:

    } elsif ($smtp_server =~ m#^/#) {
        my $pid = open my $sm, '|-';
        defined $pid or die $!;

Or, to make it work right now: just make a wrapper script.

  reply	other threads:[~2010-09-04 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04 14:03 smtp server on windows Pascal Obry
2010-09-04 14:24 ` Ævar Arnfjörð Bjarmason [this message]
2010-09-04 15:15   ` Pascal Obry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=5f3+g9HrssNKj99PHr_2ymxGWmM=NjHwc94j2@mail.gmail.com' \
    --to=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pascal@obry.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).