From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Use .authinfo for git credentials Date: Wed, 25 Apr 2018 15:47:57 +0530 Message-ID: <87fu3jmvxm.fsf@gmail.com> References: <87k1svmygw.fsf@gmail.com> <87r2n38uqg.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBHV8-0006ZC-VC for guix-devel@gnu.org; Wed, 25 Apr 2018 06:18:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBHV5-00053L-QE for guix-devel@gnu.org; Wed, 25 Apr 2018 06:18:14 -0400 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:35732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBHV5-00052z-In for guix-devel@gnu.org; Wed, 25 Apr 2018 06:18:11 -0400 Received: by mail-pf0-x232.google.com with SMTP id j5so14804986pfh.2 for ; Wed, 25 Apr 2018 03:18:11 -0700 (PDT) In-reply-to: <87r2n38uqg.fsf@fastmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > I use 'msmtp' as the transport and have configured it to look up > passwords from 'password-store'. > > $ git config --get-regexp sendemail.* > sendemail.smtpserver /home/marius/.guix-profile/bin/msmtp > sendemail.envelopesender auto From=20the (1)git-send-email man page: =2D-8<---------------cut here---------------start------------->8--- --smtp-server=3D If set, specifies the outgoing SMTP server to use (e.g. smtp.example.com or a raw IP address). Alternatively it can spec= ify a full pathname of a sendmail-like program instead; the program must support the -i option. Default value can be specified by the sendemail.smtpServer configuration option; the built-in default = is to search for sendmail in /usr/sbin, /usr/lib and $PATH if such program is available, falling back to localhost otherwise. =2D-8<---------------cut here---------------end--------------->8--- The smtp program must support the -i option. I use Emacs' message-send to send e-mails. I don't think Emacs accepts the -i option. I could write a wrapper, but I don't think this is the most ideal option. =2D-=20 Pierre Neidhardt "Success covers a multitude of blunders." =2D- George Bernard Shaw --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlrgVdUACgkQm9z0l6S7 zH+L7Qf+PIusx8gbaORY7UYUg6tNe1zujHMCueQwVsofhc7pXbSlggZuIEdFFvg0 N5TNlhose5BEGk7WygnhQsn+OoGTrh+iSWNLlbQEiNzOfm3pGaNXh9iXV3ntvvzw 4U1mysJp062tR2evH/p1IWY/CEgmh5kinIMVVDChoDjXd+vsCwmWaAZxtSfc0Y1k cDXHwuZrJfYrkUx4wQZJrn6SVfgxnh7/lPFqWvYuwUcQ6ELPii1cGykrpSi4DLXh KdcVbvmwEpZ/oA6OXdoQPUSq2cU3kmGLkSV67gFl2TPLB2pHFouNaLiCY9E3eScg l6nIaeel654CumPzcdFB6GseJr983w== =mz1Y -----END PGP SIGNATURE----- --=-=-=--