From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80925 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: Sat, 21 Jan 2012 15:10:26 +0000 Organization: aich tea tea pea dicky riley dot net Message-ID: <8ky5t12isd.fsf@news.eternal-september.org> 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 1327159040 15611 80.91.229.12 (21 Jan 2012 15:17:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2012 15:17:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29207@lists.math.uh.edu Sat Jan 21 16:17:14 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 1Rocgs-00072p-1v for ding-account@gmane.org; Sat, 21 Jan 2012 16:17:14 +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 1Rocf1-0007YW-8c; Sat, 21 Jan 2012 09:15:19 -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 1Rocey-0007YO-Bt for ding@lists.math.uh.edu; Sat, 21 Jan 2012 09:15:16 -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 1Rocev-0002yK-TY for ding@lists.math.uh.edu; Sat, 21 Jan 2012 09:15:15 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rocet-0004Em-49 for ding@gnus.org; Sat, 21 Jan 2012 16:15:11 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Roces-00065D-S7 for ding@gnus.org; Sat, 21 Jan 2012 16:15:10 +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 ; Sat, 21 Jan 2012 16:15:10 +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 ; Sat, 21 Jan 2012 16:15:10 +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: 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:nAG98bkC+RUsVN4ljdLl8xGpOvw= X-Spam-Score: -4.0 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80925 Archived-At: Richard Riley writes: > 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. I'm currently unable to use gnus to send emails since my move to appliction specific passwords. Any pointers would be greatly appreciated.