[mew-int 2632] Re: Passwords

Gernot Heiser gernot at example.com
Thu Nov 6 07:59:55 JST 2008


>>>>> On Wed, 05 Nov 2008 13:53:35 +0100 (CET), Sven Hartrumpf <Sven.Hartrumpf at example.com> said:
SH> Wed, 05 Nov 2008 13:32:46 +0100 (CET), hanche wrote:
>> (setf mew-use-cached-passwd t
>> mew-passwd-timer-unit 60
>> mew-passwd-lifetime 24)

SH> Yes, that is convenient.
SH> But is there a documented way to preserve the password across different
SH> starts of emacs? It would be ok for me to store this password in
SH> a file or so (yes, you should not do this; but the machine
SH> has other protections, too).

(setq mew-use-master-passwd   t)

This will ask for the password(s) [I use two different servers] only
once, then stores them in a GPG-encrypted file. When you start a new
emacs, the first time you send a mail you'll be asked for the master
password, which is used to read the file containing the actual SMTP
password(s). The password file is .mew-passwd.gpg in your mail directory.

Gernot



More information about the Mew-int mailing list