From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80815 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail authentication again Date: Sat, 07 Jan 2012 06:33:11 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: 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 1325914466 23589 80.91.229.12 (7 Jan 2012 05:34:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 05:34:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29097@lists.math.uh.edu Sat Jan 07 06:34:23 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 1RjOv9-0001hx-19 for ding-account@gmane.org; Sat, 07 Jan 2012 06:34:23 +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 1RjOuP-0003In-RP; Fri, 06 Jan 2012 23:33:37 -0600 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 1RjOuO-0003Id-6g for ding@lists.math.uh.edu; Fri, 06 Jan 2012 23:33:36 -0600 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 1RjOuJ-000125-Ls for ding@lists.math.uh.edu; Fri, 06 Jan 2012 23:33:35 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RjOuG-0001Oi-RP for ding@gnus.org; Sat, 07 Jan 2012 06:33:28 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjOuF-0001RA-QM for ding@gnus.org; Sat, 07 Jan 2012 06:33:27 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 06:33:27 +0100 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 06:33:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:4zvSRmSkQRZhK5XpPdsXd2OCPfU= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80815 Archived-At: Lars Magne Ingebrigtsen writes: > 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. > > I haven't thought a lot about it, but I think it would have to be more > ... complicated. :-) > > That is, I think a common use case would be to make lots of things > change based on what identity you're using. > > If you're answering work email, you want to have that special > lawyer-mandated signature, your work From address, and you have to use > your company's outgoing SMTP server. > > If it's personal email, you have funny signature, and you post via > Gmail with your Gmail From address. > > So I think the most natural fit here would be to just add some smtpmail > variables to the group/topic parameters. > > I think. So long as the passwords are encrypted in the authinfo.gpg....