From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66889 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Error in `mail-source-bind' when fetching mail Date: Sat, 26 Apr 2008 07:45:51 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209214056 19480 80.91.229.12 (26 Apr 2008 12:47:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 12:47:36 +0000 (UTC) Cc: bugs@gnus.org (The Gnus Bugfixing Girls + Boys), Ding Mailing List To: Christoph Conrad Original-X-From: ding-owner+M15370@lists.math.uh.edu Sat Apr 26 14:48:11 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jpjp1-0004rF-CF for ding-account@gmane.org; Sat, 26 Apr 2008 14:48:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JpjnW-0005Yx-1J; Sat, 26 Apr 2008 07:46:34 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JpjnU-0005Yi-OB for ding@lists.math.uh.edu; Sat, 26 Apr 2008 07:46:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JpjnO-00035v-Lr for ding@lists.math.uh.edu; Sat, 26 Apr 2008 07:46:32 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Jpjna-0001ia-00; Sat, 26 Apr 2008 14:46:38 +0200 Original-Received: from mungo (c-67-186-103-18.hsd1.il.comcast.net [67.186.103.18]) by mail.blockstar.com (Postfix) with ESMTP id 423EE7D8F07; Sat, 26 Apr 2008 05:56:02 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> (Christoph Conrad's message of "Sat, 26 Apr 2008 07:52:26 +0200") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.1.50 (darwin) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66889 Archived-At: On Sat, 26 Apr 2008 07:52:26 +0200 Christoph Conrad wrote: CC> mail-source-fetch-file -> mail-source-bind CC> => Mail source (file :path /var/spool/mail/cc :plugged t) error (user). Continue? (y or n) CC> Backtrace see below. Obviously "user" and "password" in the let form in CC> mail-source-bind can not determine the values with CC> auth-source-user-or-password and try to use the variables user and CC> password. This variables are not defined in that scope. TZ> On Thu, 28 Feb 2008 09:38:21 -0600 Ted Zlatanov wrote: TZ> I've now set up mail-source-bind to always check auth-sources (through TZ> auth-source.el) for IMAP, POP, and everything else mail-source.el TZ> supports. The user name and password will override any others that have TZ> been set up; if this is incorrect I can rearrange the priority but I TZ> think it's sensible and will make it easier for users to migrate to an TZ> authinfo-centered setup. Sometimes user and password are set (due to the macro that extracts them from the mail source). In fact they were for me, that's why I didn't notice the bug. I made a fix that should do the right thing; it may be better to do it with macro facilities but I wanted to get the fix out ASAP and I did it the simplest way possible (with boundp, symbol-value, and unintern). Thanks Ted