[Top][All Lists]

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

Re: Mail (POP3/IMAP) using STARTTLS

From: Ted Zlatanov
Subject: Re: Mail (POP3/IMAP) using STARTTLS
Date: Fri, 23 May 2008 12:36:17 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Fri, 23 May 2008 10:45:23 +0200 Felix Natter 
<> wrote: 

FN> hello,
FN> I am using STARTTLS to connect to my institution's smtp-server:

FN> (setq smtpmail-starttls-credentials
FN>       '(("" 587 "" "")))

FN> (setq mail-sources
FN>       '((imap :server ""
FN>               :stream ssl
FN>               :user "fnatte2s"
FN>               :password "XXX")))

FN> (but I'd be happy with POP3 as well)

FN> However, I don't have a certificate, I'd like to authenticate via
FN> username/password. Unfortunately, smtpmail.el says:

FN> smtpmail-starttls-credentials is a variable defined in `smtpmail.el'.
FN> Documentation:
FN> Specify STARTTLS keys and certificates for servers.
FN> This is a list of four-element list with `servername' (a string),
FN> `port' (an integer), `key' (a filename) and `certificate' (a filename).

If you can use the latest Emacs and Gnus (from CVS), they support
specifying the password like this:

machine login tzz password SECRET


machine login tzz password SECRET port smtp
# if needed
machine login tzz password SECRET port 993

in your netrc file (by default ~/.authinfo.gpg, see the variable
`auth-sources' in auth-source.el, and enable EPA to get .gpg files to be
automatically encrypted).


reply via email to

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