emacs-devel
[Top][All Lists]
Advanced

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

password-cache for smtpmail.el


From: Justus-bulk
Subject: password-cache for smtpmail.el
Date: Wed, 13 Feb 2008 11:04:37 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Hi -

Following up to an exchange I had almost two years ago:

Simon Josefsson wrote on Tue, 04 Apr 2006 15:34:24 +0200:

> ... The proper fix is for smtpmail.el to use password.el.

I attach a simple patch that does this. I tested it with emacs 22.1.

The patch also applies against the latest CVS (MAIN/HEAD) version
1.97, except that "password-cache" should be autoloaded instead of
"password" for recent development emacsen.

As a password key I simply reuse the prompt, as it appears to contain
just the right information.

The current version of smtpmail.el does not remember the password if
.authinfo is used. I removed this condition because it prevents
password caching for people who do not store passwords in .authinfo,
and I do not see any harm caused by removing it.

Could you test and apply the patch?

Thanks,
Justus

Attachment: smtpmail-password-cache.diff
Description: Text Data


reply via email to

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