git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] send-email: Add support for SSL and SMTP-AUTH

From
Wincent Colaiuta <win@wincent.com>
Date
Sep 2, 2007, 09:43 UTC
Message-ID
<3533A53F-9120-4151-A9E7-C23CB1C84E1B@wincent.com>
In-Reply-To
<7vveatpklg.fsf@gitster.siamese.dyndns.org>
El 2/9/2007, a las 9:55, Junio C Hamano escribió:
Show 31 quoted lines
> So it might be better to split the configuration variables in this
> way:
>
>  (1) in ~/.gitconfig (that is hopefully readable only by the
>      user):
>
> 	[sendemail "default"]
>         	server = mail.isp.com
>                 user = junkio
>                 pass = junkio-password-for-mail-isp-com
>
> 	[sendemail "git"]
>         	server = mail.git.xz
>                 user = gitster
>                 pass = gitster-password-for-mail-git.xz
>
>      This defines two "mail identities" I could use, depending
>      on which project's repository I run send-email.
>
>  (2) in project/.git/config:
>
> 	[sendemail]
>         	identity = git
>
>      This defines which "mail identity" I want to use for this
>      particular project.
>
> This way, you can maintain more than one identity by having
> multiple [sendemail "$identity"] sections in ~/.gitconfig, and
> avoid having to expose and duplicate user/pass in various
> project's .git/config.
Sounds like a good plan.
Wincent
Previous: Junio C HamanoNext: David Symonds
Message 3 of 5 in “send-email: Add support for SSL and SMTP-AUTH”
  1. send-email: Add support for SSL and SMTP-AUTHDouglas Stockwell, Sep 2, 2007
  2. Junio C HamanoSep 2, 2007
  3. Wincent ColaiutaSep 2, 2007
  4. David SymondsSep 2, 2007
  5. Johannes SchindelinSep 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.