From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78527 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Outgoing mail defaults Date: Sat, 16 Apr 2011 18:45:05 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302972336 9984 80.91.229.12 (16 Apr 2011 16:45:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2011 16:45:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26830@lists.math.uh.edu Sat Apr 16 18:45:32 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 1QB8cl-0003Kj-E5 for ding-account@gmane.org; Sat, 16 Apr 2011 18:45:31 +0200 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 1QB8ch-00031T-Do; Sat, 16 Apr 2011 11:45:27 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QB8cg-00031M-Dk for ding@lists.math.uh.edu; Sat, 16 Apr 2011 11:45:26 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QB8ca-0000ct-Ez for ding@lists.math.uh.edu; Sat, 16 Apr 2011 11:45:26 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QB8cX-0006JO-KD for ding@gnus.org; Sat, 16 Apr 2011 18:45:17 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QB8cX-00039J-Eb for ding@gnus.org; Sat, 16 Apr 2011 18:45:17 +0200 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 ; Sat, 16 Apr 2011 18:45:17 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Apr 2011 18:45:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUMAwv1+eLw7NOrWzxy NSUGAApTIBbVimDs4MUtEBDdpHrfw6PZ/vTCAAACS0lEQVQ4jU2SsYqkQBCGKzgHDDVabiONhAsV Bi6dxtikg8smkAbjDRpmMyPBRLi9hn4CoecFRF/u/upWZ2uQcf6v/qrq6qHtjAGRDzkiyYeNvqkc PfRsB0FI0uIAiGKjJe+RkSVJ6gnEcXXuuRGnJCHeGBSr/ihF95eW/tCTNO/7YnQzg5j6LHsBFB+c 1gAXOmUP0jwL4AedcpayI4AKoM/OMmmK+RI3w1F/0ZAfOqbLEvQAqAD6vX7KU/9yugrAnM399083 V87xQQy9jgH2zgAOdD9BnqD1+zqXbCiFDQANeH0Djl3ODCrLU6V8D8MyrPNvAO1BRzjSiM0v49Kv OoASpRgkxRguyTuuB/BXwMvbnHMP566+lKiJbw3PAQ4Hg77wdz4G4A0MWNoWPHDMz/Ub2BiMACuA c76SBwu0jZ/Vadg8qACe4X/13J7QDlAKQY4DJRwMj231C4EDwBuYzi8gAB7uiFl/bn7nbBCk9a5r rT9XtxcCuInbVZdXvzy0+jgI1daa1ighUAPleKQArFUKsrhB2GcNwNSqFXWr2rK8Qmr3FjXFyhp4 6s50X91EpFQHobNEFtWMnWJr2ymSMgb00fwBsDE+k7lLKRuAuK0VSTnFeIWV7AQgOdsqQZwS0QW/ zD2Se9CFHf8ILyikugAadsUAFMmGkKPURIelsQyaiKa74rB2r0YGZQj5jdqDJ468o4lkRE2sTLB0 frKGSyFfxsbYnUw0QQ/NMWln/TJr1WE1OKIFaKII6wgADsXLQh6ao+AJ2n0Go/4DaoedlYGYElUA AAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Epic 45's _England Fallen Over (Japanese Edition)_: "Swerving To Avoid Falling Leaves" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:sDVnBqpiS4IG9Mo05CWAXrXpE5o= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78527 gmane.emacs.devel:138529 Archived-At: Lars Magne Ingebrigtsen writes: > 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 I was thinking about starting to implement this stuff (with 1) last :-), and one problem occurred to me: Should Emacs do something with mail delivery failures? I'm thinking mainly about transient failures and "failures" like greylisting. Currently (on Linux), since the mail defaults to using the local MTA, it handles this quite well. (Well, if you have a local MTA, which modern Linux installations don't have, by default.) So would it make sense to put in a simple MTA layer in Emacs itself? That is, an mta.el library that's on top of smtpmail.el, which checks for transient failures (4xx, I think), queues stuff up, and tries resending in the background? Or is that too brittle? If you're not running Emacs, your message will just be sitting in the queue. Currently, if Message gets a "450" (greylisting) error, it'll report the error, and you have to try again later manually. So I'm not sure what would be best here. Opinions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/