[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple SMTP accounts with smtpmail.el (was: more on starttls, gnutls-c
From: |
Lars Magne Ingebrigtsen |
Subject: |
Multiple SMTP accounts with smtpmail.el (was: more on starttls, gnutls-cli and using tls for mail) |
Date: |
Wed, 17 Aug 2011 23:06:29 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Karl Fogel <address@hidden> writes:
> Second: I think it was a mistake that we fully deprecated
> `smtpmail-auth-credentials' in favor of ~/.authinfo, instead of, say,
> just making the latter override the former when the latter is present.
> It's good to have an entirely off-disk option for passing credentials;
> maybe most users won't use it, but some will, and it's good in principle
> to offer it. (For example, search for that variable in [1] to see how I
> was using it.)
I think it would be nice to find an auth-source based solution for the
multiple-account smtpmail case. Which shouldn't be difficult, I think.
How about just adding a `smtpmail-user' variable, that when bound or set
would make smtpmail.el feed that user name to auth-source, and then get
the correct credentials?
`smtpmail-user' would be set from `message-send-hook' or the like, of
course.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: more on starttls, gnutls-cli and using tls for mail, (continued)
- Re: more on starttls, gnutls-cli and using tls for mail, Dimitri Fontaine, 2011/08/15
- Re: more on starttls, gnutls-cli and using tls for mail, Leo, 2011/08/16
- Re: more on starttls, gnutls-cli and using tls for mail, Dimitri Fontaine, 2011/08/16
- Re: more on starttls, gnutls-cli and using tls for mail, Tim Cross, 2011/08/16
- Re: more on starttls, gnutls-cli and using tls for mail, Richard Riley, 2011/08/16
Re: more on starttls, gnutls-cli and using tls for mail, Roland Winkler, 2011/08/14
- Re: more on starttls, gnutls-cli and using tls for mail, Roland Winkler, 2011/08/14
- Re: more on starttls, gnutls-cli and using tls for mail, Karl Fogel, 2011/08/14
- Re: more on starttls, gnutls-cli and using tls for mail, Roland Winkler, 2011/08/15
- Re: more on starttls, gnutls-cli and using tls for mail, Tim Cross, 2011/08/16
Multiple SMTP accounts with smtpmail.el (was: more on starttls, gnutls-cli and using tls for mail),
Lars Magne Ingebrigtsen <=
- Re: Multiple SMTP accounts with smtpmail.el, Leo, 2011/08/17
- Re: Multiple SMTP accounts with smtpmail.el, Karl Fogel, 2011/08/18
- Re: Multiple SMTP accounts with smtpmail.el, Vijay Lakshminarayanan, 2011/08/18
- Re: Multiple SMTP accounts with smtpmail.el, Lars Magne Ingebrigtsen, 2011/08/19
- Re: Multiple SMTP accounts with smtpmail.el, Karl Fogel, 2011/08/20
- Re: Multiple SMTP accounts with smtpmail.el, Lars Magne Ingebrigtsen, 2011/08/21
- Re: Multiple SMTP accounts with smtpmail.el, Glenn Morris, 2011/08/22
Re: more on starttls, gnutls-cli and using tls for mail, Chong Yidong, 2011/08/14
Re: more on starttls, gnutls-cli and using tls for mail, Lars Magne Ingebrigtsen, 2011/08/17
more on starttls, gnutls-cli and using tls for mail, raman, 2011/08/13