Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: info-gnus-english@gnu.org
Subject: Re: msmtp and multiple smtp servers
Date: Fri, 09 Nov 2007 18:14:47 +0100	[thread overview]
Message-ID: <5pjisbFrnvufU1@mid.uni-berlin.de> (raw)
In-Reply-To: <mailman.3191.1194626802.18990.info-gnus-english@gnu.org>

Sivaram Neelakantan <nsivaram.net@gmail.com> writes:

> Richard G Riley <rileyrgdev@googlemail.com> 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
>  -- 

  parent reply	other threads:[~2007-11-09 17:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08 22:31 Richard G Riley
2007-11-08 22:58 ` Exal de Jesus Garcia Carrillo
2007-11-08 23:14   ` Richard G Riley
2007-11-08 23:44     ` Exal de Jesus Garcia Carrillo
2007-11-09  0:25       ` Richard G Riley
2007-11-09  2:03         ` Exal de Jesus Garcia Carrillo
2007-11-09 14:06           ` Richard G Riley
2007-11-09 16:37             ` Sivaram Neelakantan
     [not found]             ` <mailman.3191.1194626802.18990.info-gnus-english@gnu.org>
2007-11-09 17:14               ` Richard G Riley [this message]
2007-11-09 19:22               ` Richard G Riley
2007-11-10 16:21                 ` Sivaram Neelakantan
     [not found]                 ` <mailman.3223.1194712580.18990.info-gnus-english@gnu.org>
2007-11-10 17:02                   ` Richard G Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5pjisbFrnvufU1@mid.uni-berlin.de \
    --to=rileyrgdev@googlemail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).