From: Lars Magne Ingebrigtsen Date: Thu, 7 Jul 2011 11:18:17 +0000 (+0200) Subject: * NEWS: Clarify `smtpmail-auth-credentials' non-existence. X-Git-Tag: emacs-pretest-24.0.90~104^2~455 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2430e3119fa516d75b026863a4b67238c388888;p=emacs.git * NEWS: Clarify `smtpmail-auth-credentials' non-existence. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index f2098dc210d..cd035a4d7c9 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-07 Lars Magne Ingebrigtsen + + * NEWS: Clarify `smtpmail-auth-credentials' non-existence. + 2011-07-07 Chong Yidong * themes/dichromacy-theme.el: diff --git a/etc/NEWS b/etc/NEWS index 66b173751bf..46e7f4d60a5 100644 --- 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.