From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Sun, 26 Jun 2011 14:35:00 -0400 Message-ID: <87pqm0moff.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309113337 15919 80.91.229.12 (26 Jun 2011 18:35:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 18:35:37 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 26 20:35:33 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 1QauBA-00025c-Qx for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 20:35:32 +0200 Original-Received: from localhost ([::1]:51069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QauB9-00017Y-EE for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 14:35:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QauAo-000157-Pa for emacs-devel@gnu.org; Sun, 26 Jun 2011 14:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QauAj-0004Kl-B5 for emacs-devel@gnu.org; Sun, 26 Jun 2011 14:35:10 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:56809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QauAi-0004Iz-T4; Sun, 26 Jun 2011 14:35:05 -0400 Original-Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p5QIZ0fB012611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 26 Jun 2011 14:35:01 -0400 Original-Received: by furball (Postfix, from userid 1000) id 9261F1605B7; Sun, 26 Jun 2011 14:35:00 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 26 Jun 2011 15:08:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 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:140997 Archived-At: Lars Magne Ingebrigtsen writes: > If you install Ubuntu on a new machine, it will install exim, but leave > exim in local delivery mode only by default. If you then send email > from your brand new fresly installed Emacs, it will fail silently. It > will call `sendmail-send-it', and exim will take it, and deliver a > bounce locally. Which probably won't be seen by the user. > > I think that's pretty unacceptable behaviour. Agreed, though personally I haven't been able to get smtpmail to work for my university's mail server. Using smtpmail-send-it with no other customizations, attempting to send mail returns a "sending failed: relaying denied" error. The mail server requires authenticated smtp, which is pretty common nowadays; for sendmail-send-it, I've got postfix set up for sasl auth. I see that smtpmail is supposed to support authenticated smtp, but changing smtpmail-stream-type to `starttls' didn't work, either: Debugger entered--Lisp error: (error "No process") signal(error ("No process")) error("No process") set-buffer-process-coding-system(raw-text-unix raw-text-unix) byte-code(...) smtpmail-via-smtp(("cyd@stupidchicken.com") #) smtpmail-send-it() message-smtpmail-send-it() message-send-mail(nil) message-send-via-mail(nil) message-send(nil) message-send-and-exit(nil) It would be nice to get these issues ironed out if we're gonna be using smtpmail as the default.