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: Problems with new smtpmail Date: Wed, 06 Jul 2011 03:46:49 +0200 Message-ID: <87wrfwrxiu.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309916850 11137 80.91.229.12 (6 Jul 2011 01:47:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 01:47:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 03:47:26 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 1QeHD3-0005WE-RB for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 03:47:25 +0200 Original-Received: from localhost ([::1]:44803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeHD2-0000vc-OL for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 21:47:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeHCl-0000v8-ER for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeHCj-0007CF-Lq for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:47:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeHCj-0007CB-5H for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:47:05 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeHCg-0005Px-68 for emacs-devel@gnu.org; Wed, 06 Jul 2011 03:47:02 +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 03:47:02 +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 03:47:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 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:7zbY7rnCzOYcdwLLrVOxz5Bm1iI= 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:141634 Archived-At: After building emacs with the sources from July 1, I can't send e-mails anymore. NEWS contain some info, but insufficient. This is my setup: (custom-set-variables ... '(message-send-mail-function (quote smtpmail-send-it)) '(send-mail-function (quote smtpmail-send-it)) '(smtpmail-default-smtp-server "smtp.server.net") ... ) (load-library "smtpmail") (setq smtpmail-auth-credentials ; or use ~/.authinfo '(("smtp.server.net" 25 "mylogin" "mypass"))) First, smtpmail-default-smtp-server is ignored. I have to set it with setq before (load-library "smtpmail"). The documentation for smtpmail-default-smtp-server says it is only effective if setted before smtpmail is loaded, but it would be nice to mention that on NEWS too for the benefit of those who used Emacs' standard customization interface for setting the variable. Second, NEWS says that smtpmail-auth-credentials no longer exists, but ".. if it were a direct list of user names and passwords, you will be prompted for the user name and the password instead, and they will then be saved to ~/.authinfo." The above makes me think that smtpmail does something with smtpmail-auth-credentials if it is assigned, which is contrary to my experience, but maybe the questions are made on a stage that I didn't reach, because the problem mentioned below. So I go ahead and add machine smtp.server.net login mylogin password mypass to ~/.authinfo. 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? 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.