On Sat, Sep 4, 2010 at 14:03, Pascal Obry <pascal.obry@xxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html