[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple SMTP accounts with smtpmail.el

From: Rasmus
Subject: Re: Multiple SMTP accounts with smtpmail.el
Date: Sun, 25 Sep 2011 23:46:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:
> 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.

For me MultipleSMTPAccounts¹ works quite well in Emacs-bzr. SMTP-info is
determined based on From.  From in turn is set explicitly or to the
expected values in e.g. replies.  Psk is fetched from .authinfo.gpg.  At
the moment I have four SMTP servers and six accounts.

Anyhow, I guess a more integrated way of handling SMTP servers would
probably be nice.  I know that very issue kept me away from Gnus for
some years.


¹  http://www.emacswiki.org/emacs/MultipleSMTPAccounts

Sent from my Emacs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]