From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80272 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: smtp crap Date: Tue, 11 Oct 2011 00:06:21 +0200 Message-ID: References: <8739f4kzp3.fsf@catnip.gol.com> <87ipo0p1bc.fsf@stupidchicken.com> <58C87CB9F44943A7BBE78F2D6B62A850@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318284587 1695 80.91.229.12 (10 Oct 2011 22:09:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2011 22:09:47 +0000 (UTC) Cc: 'Chong Yidong' , 'Miles Bader' , ding@gnus.org, Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 11 00:09:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDO2R-0004JK-EZ for ged-emacs-devel@m.gmane.org; Tue, 11 Oct 2011 00:09:35 +0200 Original-Received: from localhost ([::1]:53668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDO2Q-0007Jt-Us for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2011 18:09:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDO2O-0007Jh-CP for emacs-devel@gnu.org; Mon, 10 Oct 2011 18:09:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDO2N-0007ZR-5X for emacs-devel@gnu.org; Mon, 10 Oct 2011 18:09:32 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:52055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDO2K-0007YZ-6N; Mon, 10 Oct 2011 18:09:28 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RDO25-0003Nv-LT; Tue, 11 Oct 2011 00:09:13 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Oct 2011 17:38:00 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWdkYaxpJOXiX7YyVCK enCaOjCqnZCkl4r794glAAACLklEQVQ4jV2US47bMAyGiWBarR2g6tZQ3AMESvaFw5zAFrodD6bU Vg0K6fr9KTlOUiJPfnyJJkXMrieiHZEpEFPI7ZzjK/HoqICQMSXnmJOBlWMmdYCl6ssiEP0DQnCg kt+hFuk6K53EmMgNK4hZsnRL1wFYSbQDQGq1VvsmIrEQgJZjYCbLgxTzRoiUkpHFbh7VpwJKJPIM FguAFHjl21chh9IasfGmHq43EqZvIYRpegCYO2c+g4c++Om4ZvkAQGvoxg14v4KkYGTKfNFID/AO gI658OvLCmosW8HAfF1T+PP/YPLN4XTx91CkALoTM5+n06WVVVIFV5jP7JkvPm9V3cHE/pNHfz9H qaAmPv3Zc/DH78MTQJKgtvBEZ45PyTW7r8CH2pUYV4C0APPI/q3WJQBJzzFfEGof3HDYj8c1h4IQ 2J8ny+PBv5QLMB/OvtOI7XlsQFXtMAhkrQLTkqMf4fwAmDmT3qDtXW0kEnkFHQCVHfOYlwHBuLUd M1Z0CncD/5QfM2th7UGJOuSS3NBjSn7Ph3Z+OFQQU9+mZEYPW6SM7SGTMfRG2P9FDW18VqANNoJe ABwu9XS6IAAJNS/bqONwURooJZnFdt2ybUdJWByjRWeBYR13u2wg6zrqRtnqsOh66g6SiVjuCuCj 30n3edClMLqEsULNcAd6L8CrlFxxqvoK+l7vhoS3qQMItasXAKTXP7QKfg6DXhnA7kUGLAbAJmP9 WJ/nM3iVf6309N8mIJbLAAAAAElFTkSuQmCC X-Now-Playing: Plaid's _Scintilli_: "Founded" X-MailScanner-ID: 1RDO25-0003Nv-LT MailScanner-NULL-Check: 1318889354.44389@pxWaoBh8rIZZ/gU8yTp7ew X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144832 gmane.emacs.gnus.general:80272 Archived-At: Stefan Monnier writes: > Editing the From is indeed a bug that we have to fix before the > release. Perhaps the simplest way would be to add these checks to the `M-x report-emacs-bugs' hooks. That is, if we're going to use `mailclient-send-it', we obviously don't care about the From header, and shouldn't check it. The problem is that we don't really know whether we're going to be using `mailclient-send-it' or not when we hit `C-c C-c', because we might get prompted first. (Especially in the "emacs -Q" case.) So this is my suggestion: Make `C-c C-c' in `M-x report-emacs-bugs' call the sendmail.el code to determine what mail transport we will be using. (This may prompt the user.) And then, if it turns out that the transport is `mailclient-send-it', we disable the From checks. If this sounds reasonable, I can take a whack at implementing this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/