From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9885 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.gnus.user Subject: Re: msmtp and multiple smtp servers Date: Fri, 09 Nov 2007 22:07:32 +0530 Message-ID: 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 1194626816 28240 80.91.229.12 (9 Nov 2007 16:46:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 16:46:56 +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 17:47:00 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 1IqX0P-0005wC-Jr for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 17:46:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqX0E-0007r0-7r for gegu-info-gnus-english@m.gmane.org; Fri, 09 Nov 2007 11:46:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqX0D-0007pu-18 for info-gnus-english@gnu.org; Fri, 09 Nov 2007 11:46:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqX0B-0007oB-Gb for info-gnus-english@gnu.org; Fri, 09 Nov 2007 11:46:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqX0B-0007o7-9d for info-gnus-english@gnu.org; Fri, 09 Nov 2007 11:46:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IqX0A-0004ff-PG for info-gnus-english@gnu.org; Fri, 09 Nov 2007 11:46:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IqX01-0006cU-7i for info-gnus-english@gnu.org; Fri, 09 Nov 2007 16:46:29 +0000 Original-Received: from 122.167.61.175 ([122.167.61.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2007 16:46:29 +0000 Original-Received: from nsivaram.net by 122.167.61.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2007 16:46:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.167.61.175 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:Jnv6hRpecv/EPpKK1lFGqXzhXc8= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:9885 Archived-At: 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. Before sending the email, try checking the variable message-sendmail-extra-arguments to see whether it points to the correct alias of msmtprc profiles. sivaram --