emacs-devel
[Top][All Lists]
Advanced

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

Re: more on starttls, gnutls-cli and using tls for mail


From: Vijay Lakshminarayanan
Subject: Re: more on starttls, gnutls-cli and using tls for mail
Date: Mon, 15 Aug 2011 09:23:26 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Leo <address@hidden> writes:

> On 2011-08-14 20:02 +0800, Vijay Lakshminarayanan wrote:
>>           (setq smtpmail-starttls-credentials credentials
>>                 smtpmail-auth-credentials credentials)
>
> Note: both variables are no more in the new smtpmail.el.

The smtpmail.el in my Emacs describes them.

,-----
| (defcustom smtpmail-auth-credentials "~/.authinfo"
|   "Specify username and password for servers, directly or via .netrc file.
| This variable can either be a filename pointing to a file in netrc(5)
| format, or list of four-element lists that contain, in order,
| `servername' (a string), `port' (an integer), `user' (a string) and
| `password' (a string, or nil to query the user when needed).  If you
| need to enter a `realm' too, add it to the user string, so that it
| looks like address@hidden'."
|   :type '(choice file
|                (repeat (list (string  :tag "Server")
|                                (integer :tag "Port")
|                                (string  :tag "Username")
|                                (choice (const :tag "Query when needed" nil)
|                                      (string  :tag "Password")))))
|   :version "22.1"
|   :group 'smtpmail)
`-----

,-----
| (defcustom smtpmail-starttls-credentials '(("" 25 "" ""))
|   "Specify STARTTLS keys and certificates for servers.
| This is a list of four-element list with `servername' (a string),
| `port' (an integer), `key' (a filename) and `certificate' (a
| filename).
| If you do not have a certificate/key pair, leave the `key' and
| `certificate' fields as `nil'.  A key/certificate pair is only
| needed if you want to use X.509 client authenticated
| connections."
|   :type '(repeat (list (string  :tag "Server")
|                      (integer :tag "Port")
|                      (file    :tag "Key")
|                      (file    :tag "Certificate")))
|   :version "21.1"
|   :group 'smtpmail)
`-----

It's possible I don't have the latest smtpmail.el.  The file doesn't
specify its version number.  I'm using the smtpmail.el that ships with

GNU Emacs 24.0.50.1 (i386-mingw-nt6.0.6002) of 2011-06-20 on 3249CTO

Am I missing something?

> Leo

-- 
Cheers
~vijay

Gnus should be more complicated.



reply via email to

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