]> code.delx.au - gnu-emacs/commitdiff
nnimap.el: Handle plain value for nnimap-stream
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 9 Jul 2015 03:54:03 +0000 (03:54 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 9 Jul 2015 03:54:03 +0000 (03:54 +0000)
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
capabilities, so that a 'plain value for the `nnimap-stream' server
variable is handled correctly.

* doc/misc/gnus.texi (Customizing the IMAP Connection):
Document the 'plain option.

doc/misc/gnus.texi
lisp/gnus/nnimap.el

index d801031c563d6ac2fd3c6d401731f340c6119e05..0afc7e47c4be314606817f414df462ade356092c 100644 (file)
@@ -14252,6 +14252,10 @@ If you need to tunnel via other systems to connect to the server, you
 can use this option, and customize @code{nnimap-shell-program} to be
 what you need.
 
+@item plain
+Non-encrypted and unsafe straight socket connection.
+@acronym{STARTTLS} will not be used even if it is available.
+
 @end table
 
 @item nnimap-authenticator
index 40610e1d71a7ab753d23d7b3653e504c5b006ef6..8eb6268a140b1ad778be521347c04455d5f66af6 100644 (file)
@@ -423,6 +423,7 @@ textual parts.")
               :return-list t
               :shell-command nnimap-shell-program
               :capability-command "1 CAPABILITY\r\n"
+               :always-query-capabilities t
               :end-of-command "\r\n"
               :success " OK "
               :starttls-function