From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76572 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp credential, multiple smtp, posting styles and smtpmail Date: Fri, 11 Feb 2011 08:06:56 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bp2i8y2n.fsf@lifelogs.com> References: <87ipwsw8j9.fsf@keller.adm.naquadah.org> <87ipws86pn.fsf@netarch.haselwarter.org> <2pmxm4drz6.fsf@news.eternal-september.org> <87aai31nrs.fsf@netarch.haselwarter.org> <8j7hd7fo7i.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297433264 7703 80.91.229.12 (11 Feb 2011 14:07:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 14:07:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24917@lists.math.uh.edu Fri Feb 11 15:07:41 2011 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.69) (envelope-from ) id 1Pnteu-0003Da-MI for ding-account@gmane.org; Fri, 11 Feb 2011 15:07:40 +0100 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 1PnteU-0007La-3F; Fri, 11 Feb 2011 08:07:14 -0600 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 1PnteS-0007LQ-Er for ding@lists.math.uh.edu; Fri, 11 Feb 2011 08:07:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PnteQ-0001ww-7J for ding@lists.math.uh.edu; Fri, 11 Feb 2011 08:07:10 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PnteO-0001sl-27 for ding@gnus.org; Fri, 11 Feb 2011 15:07:08 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PnteN-0002mc-W6 for ding@gnus.org; Fri, 11 Feb 2011 15:07:08 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 15:07:07 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 15:07:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ShKSPzdsbLDDE7GPUtiT/A5n3iA= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76572 Archived-At: On Fri, 11 Feb 2011 00:45:53 +0100 Richard Riley wrote: RR> to be honest I still am not sure how authinfo works - its pretty RR> convoluted The *current* version of auth-source.el is documented in auth.texi. I think the examples are pretty clear. The *new* version of auth-source.el in the tzz-auth-source-rewrite branch has documentation in the docstring of `auth-source-search' and I will update the manual in that branch as well. It works very similarly to the current version as far as the contents of the authinfo/netrc file. It can adapt to handle more backends, though. So you could write your own backend that took a search (e.g. :host x :user y :port z) and returned whatever data you want statically, based on the search, or based on other factors. Ted