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 15:06:03 +0100	[thread overview]
Message-ID: <5pj7qbFredgsU1@mid.uni-berlin.de> (raw)
In-Reply-To: <87zlxo89b0.fsf@gnu.org>

Exal de Jesus Garcia Carrillo <no-spam@gnu.org> writes:

> Richard G. Riley em gnu.emacs.gnus escreveu :
>
>> Exal de Jesus Garcia Carrillo <no-spam@gnu.org> writes:
>>
>>> Richard G. Riley em gnu.emacs.gnus escreveu :
>>>
>>>> Exal de Jesus Garcia Carrillo <no-spam@gnu.org> writes:
>>>>
>>>>> Richard G. Riley em gnu.emacs.gnus escreveu :
>>>>>
>>>>>
>>>>>> I have moved to try to use msmtp because it allows configurations to be
>>>>>> stored in .msmtprc which is easier to hide from prying eyes than a
>>>>>> separate .el file.
>>>>>
>>>>> With smtpmail.el you could also store sensitive information in a
>>>>> separated file.
>>>>
>>>> Could you explain how? I don't like requir'ing another .el file with
>>>> different permissions. I prefer a resource file such as .authinfo or
>>>> .msmtprc
>>>
>>>
>>>
>>> (setq smtpmail-auth-credentials "~/.authinfo")
>>
>> This doesn't work with multiple accounts on the same machine from what I
>> can gather and is useless if you use a function like fs-change-smtp (google)
>> which sets smtpmail-auth-credentials based on the from field.
>
>
>
> why not?

If I knew I wouldn't be asking here.

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.

  reply	other threads:[~2007-11-09 14:06 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 [this message]
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
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=5pj7qbFredgsU1@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).