From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76562 Path: news.gmane.org!not-for-mail From: Philipp Haselwarter Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp credential, multiple smtp, posting styles and smtpmail Date: Fri, 11 Feb 2011 00:19:03 +0100 Message-ID: <87aai31nrs.fsf@netarch.haselwarter.org> References: <87ipwsw8j9.fsf@keller.adm.naquadah.org> <87ipws86pn.fsf@netarch.haselwarter.org> <2pmxm4drz6.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297379977 29338 80.91.229.12 (10 Feb 2011 23:19:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 23:19:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24908@lists.math.uh.edu Fri Feb 11 00:19:33 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 1PnfnO-0006wO-2m for ding-account@gmane.org; Fri, 11 Feb 2011 00:19:30 +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 1PnfnL-0003dA-JY; Thu, 10 Feb 2011 17:19:27 -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 1PnfnK-0003cv-Cr for ding@lists.math.uh.edu; Thu, 10 Feb 2011 17:19:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PnfnI-0005d2-P0 for ding@lists.math.uh.edu; Thu, 10 Feb 2011 17:19:26 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PnfnG-0004CM-KE for ding@gnus.org; Fri, 11 Feb 2011 00:19:22 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PnfnB-0006oT-OF for ding@gnus.org; Fri, 11 Feb 2011 00:19:17 +0100 Original-Received: from mna75-3-89-83-43-131.dsl.club-internet.fr ([89.83.43.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 00:19:17 +0100 Original-Received: from philipp.haselwarter by mna75-3-89-83-43-131.dsl.club-internet.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 00:19:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mna75-3-89-83-43-131.dsl.club-internet.fr X-NSA-Fodder: Marxist Medco Steve Case Rumsfeld Ruby Ridge Peking Forte X-Emacs-Acronym: Everyday Material Almost Compiled Successfully User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:D5j76REdqP9fTGqXjxBZVzT5DLQ= X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76562 Archived-At: "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 :) RR> side note : RR> (I'm still wonder if I ought to be just be able to set RR> smtpmail-auth-credentials in the gnus-posting-style and leave the RR> sendmail program as smtp and it "just work" - or rather I cant see RR> why it doesnt just work. RR> e.g '(("smtp.gmail.com" 25 "rileyrg@googlemail.com" "*******")) RR> in the posting style : then no change-smtp at send stuff is required RR> and life is even simpler.) 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. -- Philipp Haselwarter