From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9888 Path: news.gmane.org!not-for-mail From: Richard G Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: msmtp and multiple smtp servers Date: Fri, 09 Nov 2007 18:14:47 +0100 Message-ID: <5pjisbFrnvufU1@mid.uni-berlin.de> References: <5phh1oFrfp8hU1@mid.uni-berlin.de> <87fxzge45g.fsf@gnu.org> <5phjikFr9vkuU1@mid.uni-berlin.de> <87bqa4e208.fsf@gnu.org> <5phnnjFrh2fcU1@mid.uni-berlin.de> <87zlxo89b0.fsf@gnu.org> <5pj7qbFredgsU1@mid.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194630109 7436 80.91.229.12 (9 Nov 2007 17:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 17:41:49 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Nov 09 18:41:52 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqXrV-0004Gl-VZ for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 18:41:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqXrK-0006lU-B1 for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 12:41:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 54 Original-X-Trace: news.uni-berlin.de RV/YQbI1ljA/FdkSW5+/aQb1Kte19/HCPmxFmHNW6WpgyFYo4= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80096 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9888 Archived-At: Sivaram Neelakantan writes: > Richard G Riley writes: > > > [...] > >> I tried the solution here: >> >> http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP >> >> What happens is that gmail smtp servers replaces my "from" email with >> the one matching the first authinfo entry for "smtp.gamil.com".So When I >> send an email using one of a couple of posting styles the recipient sees >> the "id1@gmail" as the from instead of "id2@gmail" despite the fact that >> msmtp had the from correctly set as id2@gmail in the .msmtprc file. >> >> It is all quite confusing. >> >> Any help appreciated. > > ummm...I wrote the first half of the page, so if you explain what's > the issue, I could revise the page for the better. Maybe your Emacs > config for gnus and msmtprc without the identifying info could be a > good start. The issues is the multi smtp server part. I am just looking for one person who can confirm it works using the cg-feed-msmtp function at the end of the page. Is some setting not working which is causing the issue? I use posting-styles too btw : but I still used the fs-change-smtp to set the smtpmail-auth-credentials ( in an el file in plaintext). When I tried to move to using the cg-feed-msmtp function what else needs to be set? The correct profile seems to be picked up but then msmtp goes on to use .authinfo for some reason (I assume from the fact that google is rewriting my from address and this msmtp is picking the wrong smtp login and I think its getting it from .authinfo - if I remove the authinfo lines for smtp.gmail.com then I get an smtp protocol error. Why is that? Surely everything it needs is in the .msmtprc? Note : I did get it to work from the command line using the -d log option to see correct settings. I dont have time now but I will try and cobble together an example soon. > > Before sending the email, try checking the variable > message-sendmail-extra-arguments to see whether it points to the > correct alias of msmtprc profiles. It does. > > sivaram > --