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: Problems with new smtpmail Date: Wed, 06 Jul 2011 17:03:03 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87wrfwrxiu.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1309964640 8334 80.91.229.12 (6 Jul 2011 15:04:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 15:04:00 +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:03:56 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 1QeTds-0006B4-41 for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 17:03:56 +0200 Original-Received: from localhost ([::1]:48743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTdr-00018T-6A for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 11:03:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTdO-00015c-NQ for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:03:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeTdJ-0000qJ-Jc for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:03:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTdI-0000q3-Tx for emacs-devel@gnu.org; Wed, 06 Jul 2011 11:03:21 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeTdG-0005pe-KL for emacs-devel@gnu.org; Wed, 06 Jul 2011 17:03:18 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 17:03:18 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 17:03:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 51 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Mail-Copies-To: never X-Now-Playing: Various's _Delta Swamp Rock (1)_: "Bobby Gentry - Papa Won't You Let Me Go To Town With You" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:UBI+KCzI8DXd9adzWmIyVpfzFbE= 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:141651 Archived-At: Óscar Fuentes writes: > '(smtpmail-default-smtp-server "smtp.server.net") [...] > 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. Yes. You shouldn't use that variable. It should probably be marked as obsolete. `smtpmail-smtp-server' is the variable that's used. > Second, NEWS says that smtpmail-auth-credentials no longer exists That's correct. > ".. 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." That's badly phrased. I meant to convey that it's ignored, and you will be prompted for a user name and password, if the SMTP server asks for it. > 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? > 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/