From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Problems with new smtpmail Date: Wed, 06 Jul 2011 17:46:59 +0200 Message-ID: <87oc17o1ho.fsf@wanadoo.es> References: <87wrfwrxiu.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309967269 25869 80.91.229.12 (6 Jul 2011 15:47:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 15:47:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 17:47:45 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 1QeUKG-000582-V4 for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 17:47:45 +0200 Original-Received: from localhost ([::1]:38848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUKG-0001QQ-8B for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 11:47:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUJs-0001Pk-MC for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:47:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeUJo-0008JP-Ps for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:47:20 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUJo-0008J8-0O for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:47:16 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeUJl-0004s1-0F for emacs-devel@gnu.org; Wed, 06 Jul 2011 17:47:13 +0200 Original-Received: from 92.red-83-59-2.dynamicip.rima-tde.net ([83.59.2.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 17:47:12 +0200 Original-Received: from ofv by 92.red-83-59-2.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 17:47:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 92.red-83-59-2.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:h6wZgr/4+19YbIpU9rOmDCuiaQg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:141656 Archived-At: Lars Magne Ingebrigtsen writes: [snip] >> but sending mail fails with this: >> >> smtpmail-send-it: Sending failed: Server supports STARTTLS, but Emacs >> does not have support for it >> >> Emacs worked fine for sending mail through that smtp server for >> years. Now it seems that something is missing. What's the problem? > > So your server announces that it supports STARTTLS, but doesn't require > it? Dunno. In any case, if the server announces that it supports STARTTLS, it is no reason for bailing out. Support for STARTTLS does not mean that other authentication methods are unsupported. At least this server works fine with user/pass auth. And STARTTLS is not supported by Emacs (generic) or there was something missing at configure time that makes *my* Emacs to lack STARTTLS? From reading NEWS again, it may seem that STARTTLS is supported but not properly configured on my setup (missing smtpmail-starttls-credentials, perhaps?) If that's the case, the error message is misleading. Saying something like "STARTTLS is not properly configured, see smtpmail-starttls-credentials variable" would be more helpful. BTW, smtpmail-starttls-credentials is not recognized by C-h v. >> In any case, I find the information about the smtpmail change in NEWS >> very sparse. Please note that most people is not an expert on mail >> protocols and configured Emacs following recipes, possibly long time >> ago. It is desirable to provide thorough documentation for updating the >> most usual configurations to the new requirements. > > You shouldn't need to know anything about SMTP, or edit any files, or > set any variables by hand. smtpmail.el is meant to handle all that by > querying you for the stuff that it wants to know. That's fine if you start from a clean setup, but my short experience demonstrates that if you have previous settings, one ends confused. Maybe NEWS should suggest to remove all smtpmail settings from the configuration files and let the package DTRT?