info-gnus-english
[Top][All Lists]
Advanced

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

Re: how can I toggle smtp auth files


From: Rasmus
Subject: Re: how can I toggle smtp auth files
Date: Sun, 18 Sep 2011 01:52:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

bsquared <bwcode4u@gmail.com> writes:

> I would like to change smtp authorization based on account/group.
>
> I do not know lisp, but it seems that I should be able to switch the
> authinfo file based on the group or From field.
>
>
> smtpmail-auth-credentials FROM == "x" ? "~/.authinfo.1" : "~/.authinfo.2"
>
> How could I go about doing something like this?

Maybe this┬╣ emacs wiki page is what you are looking for?

When I click C-c C-c a command is issued and SMTP variables are set
depending on the from email.  All logins are stored in ~/.authinfo.gpg.
I think I use some four SMTP servers.

Cheers,
Rasmus

Footnotes: 
┬╣  http://www.emacswiki.org/emacs/MultipleSMTPAccounts

-- 
Sent from my Emacs




reply via email to

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