From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: Committing new smtpmail.el later tonight Date: Wed, 22 Jun 2011 00:07:02 +0200 Message-ID: <87hb7ig7p5.fsf@gmail.com> References: <87liyndz5l.fsf@lifelogs.com> <8739jogwf9.fsf@lifelogs.com> <87lix9eknu.fsf_-_@lifelogs.com> <878vt52ykv.fsf@lifelogs.com> <878vt25tbf.fsf@lifelogs.com> <87zklbnet1.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308694081 16571 80.91.229.12 (21 Jun 2011 22:08:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 22:08:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 22 00:07: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 1QZ96w-0004x7-F0 for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2011 00:07:54 +0200 Original-Received: from localhost ([::1]:42107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ96v-0005Zf-O6 for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 18:07:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ96c-0005Yw-Nc for emacs-devel@gnu.org; Tue, 21 Jun 2011 18:07:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ96X-0002V7-JQ for emacs-devel@gnu.org; Tue, 21 Jun 2011 18:07:34 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ96X-0002Uu-1w for emacs-devel@gnu.org; Tue, 21 Jun 2011 18:07:29 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZ96W-0004ki-1i for emacs-devel@gnu.org; Wed, 22 Jun 2011 00:07:28 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2011 00:07:28 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2011 00:07:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:140812 Archived-At: 21/06/11 23:01, Lars Magne Ingebrigtsen > Lars Magne Ingebrigtsen writes: > >> When I call the :save-function from auth-source, it thinks that it's >> going to save the credentials to ~/.authinfo.gpg, which it shouldn't. >> What's the proper way to call the function so that the data is saved to >> ~/.authinfo? > > For now I've just altered the priority list in auth-source.el, which > makes this work well enough for now, and we can tinker with this more > later. > > I am now going to commit the rewritten smtpmail.el. I've tried testing > all the error conditions I could think of, but there's probably stuff I > haven't thought of. > > Please give it a try and report back any errors you find. > > It's mostly compatible with the previous version, but there are two > glaring incompatibilities: > > `smtpmail-auth-credentials' no longer exists. That variable could be > either ~/.authinfo (in which case you're fine -- you won't see any > difference), or it could be: > > - ;;(setq smtpmail-auth-credentials > - ;; '(("YOUR SMTP HOST" 25 "username" "password"))) > > If you had that, you will be prompted for a user name and a password, > which will then be saved in ~/.authinfo. > > Similarly, if you had > > - ;;(setq smtpmail-starttls-credentials > - ;; '(("YOUR SMTP HOST" 25 "~/.my_smtp_tls.key" "~/.my_smtp_tls.cert"))) > > then you need to put > > machine smtp.whatever.foo port 25 cert-key "~/.my_smtp_tls.key" cert-cert "~/.my_smtp_tls.cert" > > in your ~/.authinfo file instead. Just pulled the changes, now I'm confused. Could you update the info on http://www.emacswiki.org/emacs/GnusGmail#toc2 ? I get "Must issue a STARTTLS command first" when I try to send a mail now. I just copied the config over from the emacswiki page, and I have no idea how to tell the new code to use STARTTLS.