From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] send-email: Add support for SSL and SMTP-AUTH Date: Mon, 03 Sep 2007 00:58:45 -0700 Message-ID: <7vwsv8mb7u.fsf@gitster.siamese.dyndns.org> References: <11887563853329-git-send-email-doug@11011.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: gitster@pobox.com, git@vger.kernel.org To: Douglas Stockwell X-From: git-owner@vger.kernel.org Mon Sep 03 09:59:04 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IS6pp-0004p6-8B for gcvg-git@gmane.org; Mon, 03 Sep 2007 09:59:01 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754857AbXICH6z (ORCPT ); Mon, 3 Sep 2007 03:58:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754646AbXICH6z (ORCPT ); Mon, 3 Sep 2007 03:58:55 -0400 Received: from rune.sasl.smtp.pobox.com ([208.210.124.37]:46930 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbXICH6y (ORCPT ); Mon, 3 Sep 2007 03:58:54 -0400 Received: from pobox.com (ip68-225-240-77.oc.oc.cox.net [68.225.240.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 8B66912D4FD; Mon, 3 Sep 2007 03:59:09 -0400 (EDT) In-Reply-To: <11887563853329-git-send-email-doug@11011.net> (Douglas Stockwell's message of "Mon, 3 Sep 2007 03:06:25 +0900") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Douglas Stockwell writes: > Allows username and password to be given using --smtp-user > and --smtp-pass. SSL use is flagged by --smtp-ssl. These are > backed by corresponding defaults in the git configuration file. > > This implements Junio's 'mail identity' suggestion in a slightly > more generalised manner. --identity=$identity, backed by > sendemail.identity indicates that the configuration subsection > [sendemail "$identity"] should take priority over the [sendemail] > section for all configuration values. Even better than what I suggested, doing a lot more with the same identity mechanism. I think it often is the case that "when I work on this project, I send e-mail as this user to talk with that server to send e-mail, and that server happens to talk smtps so use that", and a single "identity" setting is a good way to capture that. Very nice.