Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: ding@gnus.org
Subject: Re: Multiple smtp
Date: Tue, 12 Jun 2012 14:09:44 +0200	[thread overview]
Message-ID: <91ulkspdj.fsf@news.eternal-september.org> (raw)
In-Reply-To: <iiehpl26tp.fsf@member.fsf.org>

Damon Haley <dkh@member.fsf.org> writes:

> Richard Riley <rileyrg@gmail.com> writes:
>
>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>
>>> Richard Riley <rileyrg@gmail.com> writes:
>>>
>>>> And I dont see how this addresses the main issue which was multiple
>>>> users for the same smtp machine e.g multiple google accounts.
>>>
>>> It's further explained in the Message manual.
>>
>> Aha, possibly an example would help others.
>>
>> e.g I have posting style lines of
>>
>>  (X-Message-SMTP-Method "smtp smtp.gmail.com 587 rileyrg")
>>
>> and
>>
>>  (X-Message-SMTP-Method "smtp smtp.gmail.com 587 shamrockirishbar")
>>
>> the corresponding auth lines in my auth-email.gpg are:-
>>
>> ,----
>> | machine smtp.gmail.com login rileyrg port 587 password pass1
>> | machine smtp.gmail.com login shamrockirishbar port 587 pass2
>> `----
>
> Thanks for the example(s) Richard and Lars.
>
> It's working great for me now too. Since, I store my emacs configs
> through git on multiple machines, it will give me piece of mind now to
> not have my smtp passwords in a plain text .msmtprc file anymore.
>
> Plus, it's just cooler to have one less OS dependency when running emacs
> where msmtp is not available.

any solution involving storing cleartext passwords is not good : this is
why Ive been anticipating this for a long while - its so nice to have my
pwds in a gpg file.

Even my non gnus stuff uses auth files now utilising the following function
example:-

,----
| (setq twittering-username (nth 0 (auth-source-user-and-password
| "twitter")))
`----

(auth stuff is pretty overwhelmingly complex! )






  parent reply	other threads:[~2012-06-12 12:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 15:10 Richard Riley
2012-06-07 16:59 ` innovate
2012-06-08  1:00   ` Eric Abrahamsen
2012-06-08 17:44     ` innovate
2012-06-10 19:01 ` Lars Magne Ingebrigtsen
2012-06-10 20:16   ` Richard Riley
2012-06-10 20:27     ` Lars Magne Ingebrigtsen
2012-06-10 22:14       ` Richard Riley
2012-06-11 15:42         ` Damon Haley
2012-06-12 11:58           ` Richard Riley
2012-12-23 12:49             ` Ted Zlatanov
2012-12-24 20:11               ` Lars Ingebrigtsen
2012-12-24 20:14               ` Lars Ingebrigtsen
2012-12-31 12:01                 ` Ted Zlatanov
2013-01-06  1:05                 ` Adam Sjøgren
2013-08-01 22:22                   ` Lars Magne Ingebrigtsen
2012-06-12 12:09           ` Richard Riley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-17 10:01 multiple smtp Cezar
2007-09-24 13:36 ` Simon Josefsson
2007-09-24 15:02   ` Tom Tromey

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=91ulkspdj.fsf@news.eternal-september.org \
    --to=rileyrg@gmail.com \
    --cc=ding@gnus.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).