emacs-devel
[Top][All Lists]
Advanced

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

Re: Opportunistic STARTTLS in smtpmail.el


From: Stefan Monnier
Subject: Re: Opportunistic STARTTLS in smtpmail.el
Date: Mon, 06 Jun 2011 12:06:27 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> Oh, right, it should be smtpmail-use-auth.
> I don't think that's necessary.

I don't understand how you avoid the need for it:

> Here's my vision of how this would work for a person using Emacs 24 to
> send an email for the first time.

I'm more interested in the subsequent times:

> 1) smtpmail would see that there's no host setup, so it would prompt the
> user for the SMTP host and store it via customize.

For subsequent times, this is fine: no prompting.

> 2) smtpmail connects to the server, and possibly does STARTTLS

OK so far.

> III) It sees whether the server says that it accepts AUTH or not.  If it
> does, smtpmail then asks auth-source for credentials.  There will be
> none there, probably

If the user has a ~/.authinfo.gpg, the user will be prompted at this
point: *bad* since we don't know yet whether this prompt is needed.


        Stefan



reply via email to

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