From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76564 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp credential, multiple smtp, posting styles and smtpmail Date: Fri, 11 Feb 2011 00:45:53 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: <8j7hd7fo7i.fsf@news.eternal-september.org> References: <87ipwsw8j9.fsf@keller.adm.naquadah.org> <87ipws86pn.fsf@netarch.haselwarter.org> <2pmxm4drz6.fsf@news.eternal-september.org> <87aai31nrs.fsf@netarch.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297381596 4435 80.91.229.12 (10 Feb 2011 23:46:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 23:46:36 +0000 (UTC) Cc: ding@gnus.org To: Philipp Haselwarter Original-X-From: ding-owner+M24910@lists.math.uh.edu Fri Feb 11 00:46:31 2011 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 1PngDX-000189-0b for ding-account@gmane.org; Fri, 11 Feb 2011 00:46:31 +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 1PngDK-0003n2-3e; Thu, 10 Feb 2011 17:46:18 -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 1PngDI-0003ml-8X for ding@lists.math.uh.edu; Thu, 10 Feb 2011 17:46:16 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PngDG-0005ip-VG for ding@lists.math.uh.edu; Thu, 10 Feb 2011 17:46:15 -0600 Original-Received: from [85.183.18.158] (helo=asus1015pem) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PngDF-0004eE-7W for ding@gnus.org; Fri, 11 Feb 2011 00:46:13 +0100 Original-Received: from shamrock by asus1015pem with local (Exim 4.72) (envelope-from ) id 1PngDD-00028U-E4; Fri, 11 Feb 2011 00:46:11 +0100 In-Reply-To: <87aai31nrs.fsf@netarch.haselwarter.org> (Philipp Haselwarter's message of "Fri, 11 Feb 2011 00:19:03 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -0.2 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76564 Archived-At: Philipp Haselwarter writes: > "RR" == Richard Riley writes: > > RR> Philipp Haselwarter writes: > > ---8<---[snipped 51 lines: my config]---8<--- > > RR> Yes, this is similar but superior to what I posted yesterday and > RR> uses a switch to change the smtp server at message send time based > RR> on the address which in turn is set in the gnus posting style. It > RR> was this posting that got me thinking that I ought to be able to set > RR> all I need in the posting style and not need to call the change smtp > RR> function or equivalent. > > RR> Since I cant see your .authinfo.gpg, I am assuming it contains names > RR> where the machine names match the second element in the smtp list > RR> elements? This is certainly cleaner than using msmtp and so I'll > RR> give it a go - thanks! Its certainly more comprehensive with the > RR> auth mechs being checked, > > err.. the inline authinfo.gpg is a cleartext ascii example corresponding > to the smtp portion in my .authinfo.gpg, K i should show it :) Yes, I understand what it is - we discussed it before - but something was attached to the original post which wouldnt open here (authinfo.gpg) in my gnus ... dont know why. The ways of mime attachments are many ... . The reason I asked was that it wasnt clear to me what was being matched : to be honest I still am not sure how authinfo works - its pretty convoluted - but I do have it working now with the smtp-account matching - thanks for that - but only after I used "from" in my posting style and not "address". "works for me" ;) It now means I dont need to use msmtp so this is great! > The approach I'm using has the advantage, that you never have to worry > if all the parameters are set correctly, as it just auto-adjusts. > If you choose a semi-static setup with posting styles (supposing that > would work), you'd sort of have to stick with that account for the > group. I can simply add the From: and get everything taken care of.