From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dimitri Fontaine Newsgroups: gmane.emacs.devel Subject: Re: more on starttls, gnutls-cli and using tls for mail Date: Tue, 16 Aug 2011 12:12:40 +0200 Message-ID: <87hb5hvf53.fsf@hi-media-techno.com> References: <20039.8838.116211.694328@gargle.gargle.HOWL> <8762m0n5qi.fsf@red-bean.com> <87ipq0k0q0.fsf@red-bean.com> <87fwl4nqu8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313489581 21245 80.91.229.12 (16 Aug 2011 10:13:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2011 10:13:01 +0000 (UTC) Cc: Vijay Lakshminarayanan , Karl Fogel , Tim Cross , Dimitri Fontaine , emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 16 12:12:55 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 1QtGdi-00014c-EL for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2011 12:12:54 +0200 Original-Received: from localhost ([::1]:51705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtGde-0002gJ-US for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2011 06:12:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtGdc-0002gE-E1 for emacs-devel@gnu.org; Tue, 16 Aug 2011 06:12:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtGdb-0004Ih-6b for emacs-devel@gnu.org; Tue, 16 Aug 2011 06:12:48 -0400 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:49282 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtGda-0004IX-W7 for emacs-devel@gnu.org; Tue, 16 Aug 2011 06:12:47 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mx1.naquadah.org (Postfix) with ESMTP id 4B7F45C198; Tue, 16 Aug 2011 12:12:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at prometheus.naquadah.org Original-Received: from mx1.naquadah.org ([127.0.0.1]) by localhost (prometheus.naquadah.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x1REKN1Il0-P; Tue, 16 Aug 2011 12:12:41 +0200 (CEST) Original-Received: from dim (unknown [83.167.62.196]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id E098E5C118; Tue, 16 Aug 2011 12:12:41 +0200 (CEST) Original-Received: by dim (Postfix, from userid 1000) id AE07840B98; Tue, 16 Aug 2011 12:12:40 +0200 (CEST) User-Mail-Address: dim@tapoueh.org In-Reply-To: (Leo's message of "Tue, 16 Aug 2011 17:33:53 +0800") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.85.154.174 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:143301 Archived-At: Leo writes: >> http://tapoueh.org/blog/2010/09/23-postfix-sender_dependent_relayhost_maps.html > > Thanks for that. There are other alternatives such as using msmtp. But > they are a nuisance because they require installing and configuring > another tool for something that Emacs is capable of doing. The problem with msmtp is both that it hangs emacs while sending the email, and that on delivery error you have to handle it yourself. The reason why I so much prefer postfix here is that it will queue the outgoing mail then deliver it in the background, and it will manage the delivery queue and retry if necessary. See also my mailq mode that allows me to quickly see if I have to force a send retry and to flush my postfix queue all from Emacs. http://tapoueh.org/blog/2011/05/05-mailq-modeline-display.html http://tapoueh.org/emacs/mailq.html > The point is there is one key feature that has been accidentally deleted > during the rewrite of smtpmail. This thread is about whether and how > should we bring it back. That's a whole other problem here, agreed. Regards, -- dim