From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80924 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus smtp and gmail app specific permissions Date: Fri, 20 Jan 2012 12:34:38 +0000 Organization: aich tea tea pea dicky riley dot net Message-ID: References: Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327062907 11172 80.91.229.12 (20 Jan 2012 12:35:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2012 12:35:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29206=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Jan 20 13:35:03 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 1RoDgL-0002ae-QA for ding-account@gmane.org; Fri, 20 Jan 2012 13:35:02 +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 1RoDgK-0000SM-Uj for ding-account@gmane.org; Fri, 20 Jan 2012 06:35:00 -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 1RoDgJ-0000SG-FD for ding@lists.math.uh.edu; Fri, 20 Jan 2012 06:34:59 -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 1RoDgG-0006NG-P2 for ding@lists.math.uh.edu; Fri, 20 Jan 2012 06:34:58 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RoDgD-0007OL-TF for ding@gnus.org; Fri, 20 Jan 2012 13:34:53 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RoDgC-0002Ud-SA for ding@gnus.org; Fri, 20 Jan 2012 13:34:52 +0100 Original-Received: from client-86-29-171-225.brhm-bam-3.adsl.virginmedia.com ([86.29.171.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jan 2012 13:34:52 +0100 Original-Received: from rileyrg by client-86-29-171-225.brhm-bam-3.adsl.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jan 2012 13:34:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: client-86-29-171-225.brhm-bam-3.adsl.virginmedia.com Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:GQ6ez0WTrQdULoX77mcqnorhwBc= X-Spam-Score: -4.0 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80924 Archived-At: Richard Riley writes: > Any of you have a solution that works with smtpmail sending that sets up > an app specific password for gmails smtp server? > > I have a setup using the multismtp selection from here: > > http://www.emacswiki.org/emacs/MultipleSMTPAccounts > > with the difference I set up my smtp accounts thus:- > > ,---- > | (setq smtp-accounts '( > | (ssl "rileyrg" "smtp.gmail.com" "587" > | "(nth 0 (auth-source-user-and-password \"rileysmtp\"))" "(nth 1 (auth-source-user-and-password \"rileysmtp\"))" nil) > | (ssl "shamrock" "smtp.gmail.com" "587" > | "(nth 0 (auth-source-user-and-password \"shamrock\"))" "(nth 1 (auth-source-user-and-password \"shamrock\"))" nil) > | )) > `---- > > and then eval the user and password in the set-smtp-ssl function. But > I'm confused because apparently smtpmail-auth-credentials isnt used for > ssl, so why is it set in that function? > > Ideally a simple working sample of setting smtpmails "authentication" > variables in elisp would do. > Or possibly just a simple example of elisp programming to set up smtpmail to use a third party smtp server line by line with auth details from .authinfo? I'm confused with the cross over (if any) between smtp credential variables and the use of authinfo.