From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: `send-mail-function' default change Date: Thu, 07 Jul 2011 22:56:11 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310072474 32543 80.91.229.12 (7 Jul 2011 21:01:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 21:01:14 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 23:01:09 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 1Qevh6-0004J0-0Y for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2011 23:01:08 +0200 Original-Received: from localhost ([::1]:43873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qevh4-0000rL-IB for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2011 17:01:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QevcY-00082h-Gs for emacs-devel@gnu.org; Thu, 07 Jul 2011 16:56:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QevcU-0008BY-8T for emacs-devel@gnu.org; Thu, 07 Jul 2011 16:56:26 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QevcT-0008BQ-Sv; Thu, 07 Jul 2011 16:56:22 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QevcM-0001dj-5c; Thu, 07 Jul 2011 22:56:14 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 07 Jul 2011 16:31:34 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWelGYxJikLCQoFBQII BwYCAwBtZVvEwqMHCAQFBgKl9OGzAAACNklEQVQ4jW2UMW/bMBCF6Q7UmmMLehYhBN0JA9WqsEU0 toYzmy7ArEoHcxWCoJW2OhJa8d/2jpIaKcgNAnyf3j0d70wWQtCHV7HXec5C6PTuDULgUzPFY3bz VCilDjqC8JtNkVRwTLz3eh/CGmzASuZ9lxNoF8BaLHTvdR4GNjShfgEOlNrKjkCzAhyEugZUNKxt 2vrIOOU5AitPKaAFlWpfFBsEQqVvAGZBpVIHLLXyQAUITuY9a9oF4Azs9uw0gQH7iOb4SCruTql0 sY8wLI+EVdghAj2Qol6ABwTYh+6p86XihCCNIKxAIiLQBMLC3FMlLKXzfn3s/gfmC8AJjvOo5kKe KhX2FfBnTx+rlN3PHjO4p0oqhcPk8ddH80SkIgKrdTATiAo1Bg7qP0BS+fMSxFK/PMWcH0drJoDb JMasP0sogzG0PlhqkzzMAsls3puoqL2vtmIGVtqOwG0TAY/F6XF2UBLAXa4na0eqLXdgcLMnQOd9 TfuZeofAFAXOo60T7OPdJFiA5uIr545yEwWeETAE8HO5c+7qFAX0EuZVPF3MW3ACLWXCjtyVUx9/ KA9IcbrW4W6VQx/BhfLOOivhCr98VjThgnlMYkgYAZ1VE8IzzACA3PmkaJ/Hl2NIBOwmjx4jmCMh oHPDWnTPVJZlBvXGlI/YzTyoTu93X8UHAeI9AN0YOi8j6D9q/QXsyf38bt14k0SF7vDHnd3gn9xa t9O0uWPndC19ezKZ+VyYMirCrfkH17g5c5te98oAAAAASUVORK5CYII= X-Now-Playing: Kreidler's _Tank_: "New Earth" X-Hashcash: 1:23:110707:emacs-devel@gnu.org::p1x0AMoeUA6rFB2Q:000000000000000000000000000000000000000000229a X-Hashcash: 1:23:110707:rms@gnu.org::mUZ1QQC9sGq7qTVa:000000NPV0 X-Hashcash: 1:23:110707:monnier@iro.umontreal.ca::eL/kLp3mUSEcBQ8q:0000000000000000000000000000000000001BQC9 X-MailScanner-ID: 1QevcM-0001dj-5c MailScanner-NULL-Check: 1310676974.27032@Ula65I8v5T+6Bl+4Gd+XpA 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:141751 Archived-At: Stefan Monnier writes: > This can't be done, because there's no reliable way to check whether > sendmail does work. One thing that I don't think has been discussed in this area (yay! another sub-thread in an unending thread) is the issue of failing early versus retrying. Here's the issue: You're using a laptop at home, and you've got exim configured to (for instance) send mail directly (because your ISP does not block port 25), and things work fine. Then you bring the laptop with you while going on holiday. You read your email, as usual, from imap.example.com, and you're replying as usual. But the hotel you're at is blocking port 25. exim will then queue up the messages, and after a certain time period, it'll send you a (local) message saying that it couldn't send the emails. (If I recall correctly, the default is one day.) It will retry sending for four days, so if you go home before that time, it will send all the messages when you get home. Now, you won't see any error messages in this period. You most likely aren't reading the local /var/mail/spool/. So if this is something you're not familiar with, you'll wonder where the emails went. If you are familiar with this situation, you'll figure it out after a while, reconfigure, and flush the queue. If Emacs talks SMTP directly, you will get an error message immediately at the hotel, and can choose to reconf, or you can choose to queue the mail in Emacs. Now, some people will prefer different behaviours. Some people probably use the let-exim-queue-locally-until-I-get-home behaviour, and find that it suits their needs. But I have a suspicion that most people would like to get an error message as early as possible. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/