From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Sending bug reports without setting up email Date: Mon, 09 May 2016 15:50:28 +0200 Organization: Programmerer Ingebrigtsen Message-ID: <87twi7jq6z.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462802428 30077 80.91.229.3 (9 May 2016 14:00:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 14:00:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 16:00:16 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1azlbo-0007Ju-Qt for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 15:52:29 +0200 Original-Received: from localhost ([::1]:41511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azlbo-0001pF-6D for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 09:52:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azlbk-0001l7-O9 for emacs-devel@gnu.org; Mon, 09 May 2016 09:52:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azlbg-0000oG-VL for emacs-devel@gnu.org; Mon, 09 May 2016 09:52:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azlbg-0000nu-IR for emacs-devel@gnu.org; Mon, 09 May 2016 09:52:20 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1azlbc-0007AP-GZ for emacs-devel@gnu.org; Mon, 09 May 2016 15:52:16 +0200 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 15:52:16 +0200 Original-Received: from larsi by cm-84.215.1.64.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 15:52:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.1.64.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:xB7WD6wDXFicum8uNbUweBlb/50= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203705 Archived-At: We discussed this before, and talked about web forms etc, but it occurred to me tonight (while trying to fall asleep) how easy it would be just to use smtpmail.el: If Emacs detects that email hasn't been configured when trying to send a bug report, Emacs could just contact the MX for debbugs.gnu.org directly and submit the report. Now, that MX ((which happens to be "debbugs.gnu.org") only listens at port 25, and some ISPs block outgoing traffic to port 25, so it wouldn't always work. Is there any chance that we could have that Exim instance listen on port 587, too? (The mail submission port.) In that case, `C-c C-c' when sending the bug report would 1) If mail is set up, just send normally 2) If not, see whether it can talk to 25/587 on the MX 2b) If there is no good "from" address, ask the user what their email address is 3) If it can't talk to the MX, continue as now with setting up the mail transport I think this would be a nice improvement in the usability of the bug reporting system... To look up the MX in a reliable, and non-hardcoded manner, it would be nice if we could use dns.el. Would anybody mind if I create a C interface function to return nsaddr_list (from res_init) to Lisp? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no