From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81918 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: Multiple smtp Date: Tue, 12 Jun 2012 14:09:44 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <91ulkspdj.fsf@news.eternal-september.org> References: <1kmx4f40pr.fsf@news.eternal-september.org> <687gvely7o.fsf@news.eternal-september.org> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339503111 12135 80.91.229.3 (12 Jun 2012 12:11:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2012 12:11:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30188@lists.math.uh.edu Tue Jun 12 14:11:51 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SePwj-00046u-Uo for ding-account@gmane.org; Tue, 12 Jun 2012 14:11:42 +0200 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 1SePvF-0001Er-G1; Tue, 12 Jun 2012 07:10:09 -0500 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 1SePvD-0001Eb-Ob for ding@lists.math.uh.edu; Tue, 12 Jun 2012 07:10:07 -0500 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 1SePv9-00028M-SO for ding@lists.math.uh.edu; Tue, 12 Jun 2012 07:10:07 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SePv5-0007aO-2f for ding@gnus.org; Tue, 12 Jun 2012 14:09:59 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SePv1-0008Ud-Ik for ding@gnus.org; Tue, 12 Jun 2012 14:09:55 +0200 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 ; Tue, 12 Jun 2012 14:09:55 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jun 2012 14:09:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 X-Message-Smtp-Method: smtp smtp.gmail.com 587 rileyrg Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:snP4VmM5sRn1jKC32ASOrNre/CM= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1742--10139h-0s--0d--H*u:Emacs, 0.000-1475--8586h-0s--0d--H*u:Gnus, 0.000-1391--8094h-0s--0d--H*u:linux, 0.000-1391--8094h-0s--0d--H*UA:linux, 0.000-1357--7900h-0s--0d--H*UA:gnu Spam tokens: 0.995-1--0h-3s--0d--damon, 0.948-12409--5339h-91995s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.948-12409--5339h-91995s--0d--H*RU:quimby.gnus.org, 0.945-11584--5499h-88547s--0d--HTo:D*gnus.org, 0.939-11683--6458h-94033s--0d--HX-Spam-Relays-Internal:quimby.gnus.org Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rileyrg[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81918 Archived-At: Damon Haley writes: > Richard Riley writes: > >> Lars Magne Ingebrigtsen writes: >> >>> Richard Riley writes: >>> >>>> And I dont see how this addresses the main issue which was multiple >>>> users for the same smtp machine e.g multiple google accounts. >>> >>> It's further explained in the Message manual. >> >> Aha, possibly an example would help others. >> >> e.g I have posting style lines of >> >> (X-Message-SMTP-Method "smtp smtp.gmail.com 587 rileyrg") >> >> and >> >> (X-Message-SMTP-Method "smtp smtp.gmail.com 587 shamrockirishbar") >> >> the corresponding auth lines in my auth-email.gpg are:- >> >> ,---- >> | machine smtp.gmail.com login rileyrg port 587 password pass1 >> | machine smtp.gmail.com login shamrockirishbar port 587 pass2 >> `---- > > Thanks for the example(s) Richard and Lars. > > It's working great for me now too. Since, I store my emacs configs > through git on multiple machines, it will give me piece of mind now to > not have my smtp passwords in a plain text .msmtprc file anymore. > > Plus, it's just cooler to have one less OS dependency when running emacs > where msmtp is not available. any solution involving storing cleartext passwords is not good : this is why Ive been anticipating this for a long while - its so nice to have my pwds in a gpg file. Even my non gnus stuff uses auth files now utilising the following function example:- ,---- | (setq twittering-username (nth 0 (auth-source-user-and-password | "twitter"))) `---- (auth stuff is pretty overwhelmingly complex! )