]> git.eshelyaron.com Git - emacs.git/commitdiff
* NEWS: Clarify `smtpmail-auth-credentials' non-existence.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 7 Jul 2011 11:18:17 +0000 (13:18 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 7 Jul 2011 11:18:17 +0000 (13:18 +0200)
etc/ChangeLog
etc/NEWS

index f2098dc210d0fbf8d1211166a22a37cd26b25373..cd035a4d7c9bcaee8f3d120fef4c775c9a767372 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * NEWS: Clarify `smtpmail-auth-credentials' non-existence.
+
 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
 
        * themes/dichromacy-theme.el:
index 66b173751bf006054bc783e3d33ff45eb3948d2f..46e7f4d60a5a524d0b7dfe275f5de8331e2febee 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -124,16 +124,30 @@ possible, and uses the auth-source framework for getting credentials.
 The rewrite should be largely compatible with previous versions of
 smtpmail, but there are two major incompatibilities:
 
-** `smtpmail-auth-credentials' no longer exists.  That variable could
-be either ~/.authinfo (in which case you're fine -- you won't see any
+** `smtpmail-auth-credentials' no longer exists.  That variable used
+to be be either ~/.authinfo (in which case you won't see any
 difference), but if it were a direct list of user names and passwords,
-you will be prompted for the user name and the password instead, and
-they will then be saved to ~/.authinfo.
+it will be ignored, and you will be prompted for the user name and the
+password instead.  They will then be saved to ~/.authinfo.
+
+If you wish to copy over all the credentials from
+`smtpmail-auth-credentials' to your ~/.authinfo file manually, instead
+of letting smtpmail prompt you for these values, that's also possible.
+
+If you had, for instance,
+
+(setq smtpmail-auth-credentials
+      '(("mail.example.org" 25 "jim" "s!cret")))
+
+then the equivalent line in ~/.authinfo would be
+
+machine mail.example.org port 25 login jim password s!cret
 
 ** Similarly, `smtpmail-starttls-credentials' no longer exists.  If
-you had thet set, then then you need to put
+you had that set, then then you need to put
 
-machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
+machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert
+"~/.my_smtp_tls.cert"
 
 in your ~/.authinfo file instead.