From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80813 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail authentication again Date: Fri, 06 Jan 2012 21:43:22 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ipkos051.fsf@lifelogs.com> References: <87d3awtgda.fsf@lifelogs.com> <878vlktfy6.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325904253 8465 80.91.229.12 (7 Jan 2012 02:44:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 02:44:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29095@lists.math.uh.edu Sat Jan 07 03:44:10 2012 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 1RjMGN-0006pB-GW for ding-account@gmane.org; Sat, 07 Jan 2012 03:44:07 +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 1RjMG0-0002Vo-Hx; Fri, 06 Jan 2012 20:43:44 -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 1RjMFz-0002Vd-GI for ding@lists.math.uh.edu; Fri, 06 Jan 2012 20:43:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RjMFu-0002vv-KW for ding@lists.math.uh.edu; Fri, 06 Jan 2012 20:43:42 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RjMFs-0005jZ-Ii for ding@gnus.org; Sat, 07 Jan 2012 03:43:36 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjMFs-0006fk-2c for ding@gnus.org; Sat, 07 Jan 2012 03:43:36 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 03:43:36 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 03:43:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net 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" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:Qiklq9UzzZOYdnS4B2q533Vu1kU= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80813 Archived-At: On Sat, 07 Jan 2012 03:28:01 +0100 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> Ideally it would be set by a group/topic parameter and also overridden >> at will. It would be a logical name, which retrieves the rest of the >> info from auth-source (defaulting to the machine name, unless a logical >> name is also specified). >> >> So you'd have >> >> machine X port smtp ... >> machine Y port smtp login alpha nickname alphaY >> machine Y port smtp login beta nickname betaY >> >> and then setting the new group/topic parameter to "X" gives you the >> first one, "Y" gives you alphaY because it matches first in the file, >> "alphaY" and "betaY" give you the second and third lines respectively. LMI> I haven't thought a lot about it, but I think it would have to be more LMI> ... complicated. :-) LMI> That is, I think a common use case would be to make lots of things LMI> change based on what identity you're using. LMI> If you're answering work email, you want to have that special LMI> lawyer-mandated signature, your work From address, and you have to use LMI> your company's outgoing SMTP server. LMI> If it's personal email, you have funny signature, and you post via LMI> Gmail with your Gmail From address. LMI> So I think the most natural fit here would be to just add some smtpmail LMI> variables to the group/topic parameters. LMI> I think. I think we're agreeing. But why make it complicated? I'd like to keep as much as possible of the connectivity parameters encapsulated by auth-source, if that's OK with you. What can't be done with authinfo lines like the above and a single "smtp-server-name" nickname group/topic parameter? Ted