Mercurial > emacs
comparison man/smtpmail.texi @ 54201:458c6240bae0
(Authentication): Changed the list of supported
authentication mechanisms from CRAM-MD5, PLAIN and LOGIN-MD5 to
CRAM-MD5 and LOGIN, tiny patch from Andreas Voegele
<voegelas@gmx.net>.
author | Simon Josefsson <jas@extundo.com> |
---|---|
date | Sun, 29 Feb 2004 22:07:50 +0000 |
parents | 695cf19ef79e |
children | 310e8ba0a51e |
comparison
equal
deleted
inserted
replaced
54200:b0293635c42b | 54201:458c6240bae0 |
---|---|
1 \input texinfo @c -*-texinfo-*- | 1 \input texinfo @c -*-texinfo-*- |
2 @setfilename ../info/smtpmail | 2 @setfilename ../info/smtpmail |
3 @settitle Emacs SMTP Library | 3 @settitle Emacs SMTP Library |
4 @syncodeindex vr fn | 4 @syncodeindex vr fn |
5 @copying | 5 @copying |
6 Copyright @copyright{} 2003 Free Software Foundation, Inc. | 6 Copyright @copyright{} 2003, 2004 Free Software Foundation, Inc. |
7 | 7 |
8 @quotation | 8 @quotation |
9 Permission is granted to copy, distribute and/or modify this document | 9 Permission is granted to copy, distribute and/or modify this document |
10 under the terms of the GNU Free Documentation License, Version 1.1 or | 10 under the terms of the GNU Free Documentation License, Version 1.1 or |
11 any later version published by the Free Software Foundation; with no | 11 any later version published by the Free Software Foundation; with no |
205 @node Authentication | 205 @node Authentication |
206 @chapter Authentication | 206 @chapter Authentication |
207 | 207 |
208 @cindex SASL | 208 @cindex SASL |
209 @cindex CRAM-MD5 | 209 @cindex CRAM-MD5 |
210 @cindex PLAIN | |
211 @cindex LOGIN | 210 @cindex LOGIN |
212 @cindex STARTTLS | 211 @cindex STARTTLS |
213 Many environments require SMTP clients to authenticate themselves | 212 Many environments require SMTP clients to authenticate themselves |
214 before they are allowed to route mail via a server. The two following | 213 before they are allowed to route mail via a server. The two following |
215 variables contains the authentication information needed for this. | 214 variables contains the authentication information needed for this. |
216 The first variable, @code{smtpmail-auth-credentials}, instructs the | 215 The first variable, @code{smtpmail-auth-credentials}, instructs the |
217 SMTP library to use a SASL authentication step, currently only the | 216 SMTP library to use a SASL authentication step, currently only the |
218 CRAM-MD5, PLAIN and LOGIN-MD5 mechanisms are supported and will be | 217 CRAM-MD5 and LOGIN mechanisms are supported and will be selected in |
219 selected in that order if the server supports them. The second | 218 that order if the server supports them. The second variable, |
220 variable, @code{smtpmail-starttls-credentials}, instructs the SMTP | 219 @code{smtpmail-starttls-credentials}, instructs the SMTP library to |
221 library to connect to the server using STARTTLS. This means the | 220 connect to the server using STARTTLS. This means the protocol |
222 protocol exchange can be integrity protected and confidential by using | 221 exchange can be integrity protected and confidential by using TLS, and |
223 TLS, and optionally also authentication of the client. It is common | 222 optionally also authentication of the client. It is common to use |
224 to use both these mechanisms, e.g., to use STARTTLS to achieve | 223 both these mechanisms, e.g., to use STARTTLS to achieve integrity and |
225 integrity and confidentiality and then use SASL for client | 224 confidentiality and then use SASL for client authentication. |
226 authentication. | |
227 | 225 |
228 @table @code | 226 @table @code |
229 @item smtpmail-auth-credentials | 227 @item smtpmail-auth-credentials |
230 @vindex smtpmail-auth-credentials | 228 @vindex smtpmail-auth-credentials |
231 The variable @code{smtpmail-auth-credentials} contains a list of | 229 The variable @code{smtpmail-auth-credentials} contains a list of |