From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77879 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Outgoing mail defaults Date: Thu, 17 Mar 2011 18:04:39 +0100 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300381525 18483 80.91.229.12 (17 Mar 2011 17:05:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 17:05:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26197@lists.math.uh.edu Thu Mar 17 18:05:21 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0GdU-0000XL-Uo for ding-account@gmane.org; Thu, 17 Mar 2011 18:05:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q0GdL-0001E2-GV; Thu, 17 Mar 2011 12:05:11 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q0GdK-0001Di-0C for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:05:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q0GdF-0005m1-Jt for ding@lists.math.uh.edu; Thu, 17 Mar 2011 12:05:09 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q0GdE-00075L-TK for ding@gnus.org; Thu, 17 Mar 2011 18:05:04 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0GdE-0000NJ-CX for ding@gnus.org; Thu, 17 Mar 2011 18:05:04 +0100 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:05:04 +0100 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 18:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUbDhEhEhVfOjQWCg0S BgkQBAe1eTEKAAACTElEQVQ4jW2UQXrjIAyFRfhmj810b5x2jy16ABtxgLpw/6vMEyRtFsPXJg4/ 7yEJYcpkpv8MR5np8Tyv4RXUGrtmHSP8gFahIfoB9DCgKsxKbvN9WcLs6EEAlDDv83K/r7OPFMlh ngQg4ePcwzsAD71lKDKLgjN8LOstScoKhdRJpA4QTpGk1kmofCtI5bpNH/dwFZGWk/o1SUlKq+eM BMPZREr3ooo1mC/XrFlcrbYiGYikSAFoV8/vaq3U2kGCIsHgHJk3DKzNqsgMhVy/gKWqFUaB2S9A LTInQgqK6ouV5jwUSOplj1q6okjiDPD1snk/itJEa1X2Ad7UCX8ANaEyn+15UAA1qULwoVV8gHeI ex1JY2Muwit+7SvWiZaEqJc/lRxXPcaVe0w5ErEgplR5CwDbmj8FmWsezAiaJe0LvuJqWfSAOlAr zmcIGrHv1pUNMbkO92Xa17AuFjOWoyFy0XZw58g0L2QtuoQM2ajNwjw7gAjQhzHjmyytRNHS7QHc RIogohUtaOMTmIm0sWkA2JoFvzCDHu3zzqiVrgzoWl2Nf5g5LAm6kzX9flBXTJiGpXogsEDTuHrD DWvQ/xszHhw9ARTOuMB+erN+M3o7OsDG8DKOrfCBAtsfK9UgBIQnx/GcHwC74sF4niZVdLOhwHn5 OE3WsNu8I10xotPj2oJhb5i9j6nlhxUZ3EZneIOQ04EmN70kduPDZO/5yAcb3KNvLYueX4ref/31 uKr9pPUdQjqPC9n+tIb2bPrO6W8UXJxW2suoceTxDxcDr6Pnti1JAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Jim O'Rourke's _The Visitor_: "The Visitor" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Mp4Q2aI8RL61+U3erB6pkaZ2yPw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77879 gmane.emacs.devel:137346 Archived-At: I'm wonder whether the defaults when sending email should change. I recently got a new laptop and installed Ubuntu on it. I fired up Emacs and tried sending mail, as one does, and it failed. `message-send-mail-function' returned `message-send-mail-with-sendmail', since Ubuntu does come with a functioning sendmail program, but it refused to actually send any mail. So I'm wondering whether Emacs should default to using smtpmail. The nice thing about using smtpmail is that Emacs has explicit control of how the mail is sent, which is more important now than it used to be, what with all the closed port 25s that ISP like to give their customers these days. I'm thinking: 1) change the defaults to use smtpmail 2) change smtpmail so that it queries the user for SMTP host name (and possibly port number) 3) use customize to save the user's reply In addition, smtpmail should be altered to use auth-source instead of the slightly confusing use-both-auth-source-and-netrc setup it's using now, and use `open-protocol-stream' to get opportunistic STARTTLS upgrades. Change 1) is something that will annoy people who have a perfectly good local sendmail-like setup, so I'm not absolutely sure that this is the way to go. On the other hand, in the long run (as my Ubuntu experience shows), I think it might be the right thing to do, and is what most other modern MUAs (like Thunderbird) do. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen