From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81903 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug: auth-sources not set before retrieving authinfo Date: Mon, 11 Jun 2012 12:26:06 +0800 Message-ID: <871ulmscdd.fsf@xc.laptop> References: <87fwabe9pz.fsf@xc.laptop> <87vcizasql.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1339389071 27603 80.91.229.3 (11 Jun 2012 04:31:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 04:31:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30173@lists.math.uh.edu Mon Jun 11 06:31:10 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SdwHV-0004ew-SX for ding-account@gmane.org; Mon, 11 Jun 2012 06:31:10 +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 1SdwHL-0001Vz-Oe; Sun, 10 Jun 2012 23:30:59 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SdwHK-0001Vo-4T for ding@lists.math.uh.edu; Sun, 10 Jun 2012 23:30:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SdwHI-0003ip-VJ for ding@lists.math.uh.edu; Sun, 10 Jun 2012 23:30:57 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SdwHG-0004d2-Kz for ding@gnus.org; Mon, 11 Jun 2012 06:30:54 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SdwHD-0003zo-Ir for ding@gnus.org; Mon, 11 Jun 2012 06:30:51 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2012 06:30:51 +0200 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jun 2012 06:30:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:UluDYw7Bf7PTqqetr08lGCRu4pQ= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1740--10108h-0s--0d--H*u:Emacs, 0.000-1475--8568h-0s--0d--H*u:Gnus, 0.000-1390--8076h-0s--0d--H*u:linux, 0.000-1390--8076h-0s--0d--H*UA:linux, 0.000-1357--7882h-0s--0d--H*UA:gnu Spam tokens: 0.948-12346--5333h-91816s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.948-12346--5333h-91816s--0d--H*RU:quimby.gnus.org, 0.944-11524--5493h-88375s--0d--HTo:D*gnus.org, 0.939-11622--6449h-93852s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.939-11622--6449h-93852s--0d--H*RT:80.91.231.51 Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (xecycle[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81903 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ted Zlatanov writes: [...] > You can also structure `auth-sources' so a specific host is found in > ~/.authinfo but all others come from ~/.authinfo.gpg. > > First in the list, put the ~/.authinfo entry, and add an extra parameter > "host: regex" with `M-x customize-variable'. The equivalent Lisp: > > #+begin_src lisp > (setq auth-sources '((:source "~/.authinfo" :host "yourhost" :port t) > (:source "~/.authinfo.gpg" :host t :port t))) > > #+end_src > > Let me know if it works OK for you or not. Sadly it doesn't. It seems to try all sources. I've set it to this: =2D-8<---------------cut here---------------start------------->8--- (setq auth-sources '((:source "/dev/null" :host "localhost") (:source "~/.authinfo.gpg" :host t))) =2D-8<---------------cut here---------------end--------------->8--- It still asks me for that. =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJP1XNhAAoJEI1xjsR3leWR+4EH/0X0kfy+2npxpeZrGjmT24AJ sjmzoX+Yd1JS/iuLq6Jj7k0YM9Kz2hb2CQDX0vavyiwSVNMDmTvdvCbgFzbPLHZb t0WC+M4gwHNPEGGNZTfMULiub3CjcqUnmgaCVZmCW9fi/SMEpbcG2aMzMiPcJcuc AzrC0TXanx7r/VymZS1SNepB73IZ/Gwy4QpWl5hIbANUPwxHv34g9a5c2DlEfYOJ pjlrHx4xb29F4R+GKdGYmLH/ycPgEoSz14Svuxlwif2cmNZOZ9ZK2skOIeuvlt5D JlxR1fXJyds42f5XW/1pA4nUL9GbmI8kjbQz7eckGbc69H3/0naOYJDpqPeZiB8= =m/5Z -----END PGP SIGNATURE----- --=-=-=--