��֯���й�������������http://www.china-pub.com/��
RFC�ĵ����ķ���ƻ���http://www.china-pub.com/compters/emook/aboutemook.htm��
E-mail��ouyang@china-pub.com
���ߣ�ţ� ��NT niutao@sohu.com��
���ķ���ʱ�䣺2001-6-29
��Ȩ�������ķ����ĵ���Ȩ���й��������������С��������ڷ���ҵ��;����ת�أ�������
�������ĵ��ķ��뼰��Ȩ��Ϣ��





Network Working Group                                          C. Newman
Request for Comments: 2245                                      Innosoft
Category: Standards Track                                  November 1997

����SASL����
��Anonymous SASL Mechanism��

������¼��״̬

   ���ĵ�������һ��Ӧ����Internet�����Internet��׼����Э�飬����ϣ����Ҷ����
һ�����ƽ������ۺͽ��顣��Э��ı�׼�涨��״������ġ�Internet ��ʽЭ���׼������
����¼�ķ���û���κ����ơ�

��Ȩ����

   Copyright (C) The Internet Society (1997).  All Rights Reserved.

ժҪ

   ����һ��Ĺ�������Internet�������û�����ʹ��ijЩ���񡣴�ͳ�ϣ���������ʹ����
��ʽ������ƣ���"anonymous"��Ϊ�û����Ϳ�ѡ����ټ���Ϣ��������ʼ���ַ�����롣
���ĵ�¼�������µ�IETFЭ�����Dz������ģ���SASL�����ǰ������ϵ����Ҫ�õ��µ���
����¼�ķ�����
Ŀ¼
1. ���ĵ��е�Լ��	2
2. ����SASL����	2
3. ����	3
4. ��ȫ����	3
5. �����	4
6. ���ߵ�ַ	5
7.  ȫ����Ȩ����	5

1. ���ĵ��е�Լ��

   ���ĵ��н�Ҫ���͵Ĺؼ��ʣ��硰���롱�������ء�����Ӧ����������Ӧ�����͡����ԡ��ȴʽ�
���ڡ���Ҫ˵��RFC����ˮƽ���õĹؼ��ʡ���KEYWORDS���ж��塣

2. ����SASL����

   �˻��Ƶ��������������ʵ���ϵ�ǡ�ANONYMOUS���������ģ����˻����ɴӿͻ�����������
����Ϣ��ɡ��ͻ����͵������׶����ַ������е������ټ���Ϣ����һ�ټ���Ϣ�����ռ
����������һ��Internet�����ʼ���ַ��������"@"�ַ������ܱ��ͻ����ϵͳ����Ա��
�͵IJ�͸�����ַ�������ա�������˽ԭ��ֻ�еõ��û���������������ʼ���ַ�Żᱻ
ʹ�á�


   ���������������ʵķ�������������֧��ANONYMOUS���ƣ����������κ��˵�¼��ʹ����
һ���ƣ�ͨ���������޷��ʡ�

   �ͻ�����Ϣʹ�õ���չ��BNF[ABNF]��ʽ�﷨���£�

   message         = [email / token]

   TCHAR           = %x20-3F / %x41-7E
                     ;; any printable US-ASCII character except '@'

   email           = addr-spec
                     ;; as defined in [IMAIL], except with no free
                     ;; insertion of linear-white-space, and the
                     ;; local-part MUST either be entirely enclosed in
                     ;; quotes or entirely unquoted

   token           = 1*255TCHAR

3. ����


   �����һ��IMAP�ͻ�������¼���������ϵ����ӡ�����������У���C�����͡�S����ָ����
�ֱ����ɿͻ��ͷ��������͵ġ�������е���Щ����û���µġ�C:����S:������ô�������
�����������һ���֣�����Ϊ��ʹ��༭������Щ��

   ע�����������ʹ�õ���SASL��IMAP����[IMAP4]��������ս�ԵĻ���64λ�������Ӧ��
ǰ�������Ĵ���+���ŵ���Ӧ��Ҳ��IMAP4������һ���֣�������SASL������һ���֡��µ�
SASL���������������ANTHENTICATE���������Ŀͻ���Ϣ�������������ʾ����������Ӧ
��һ���յġ�+���������ӵ���Ϣ�����Ϳ��������ˡ� 

   ����������У��û��IJ�͸����֤����ǡ�sirhc����

        S: * OK IMAP4 server ready
        C: A001 CAPABILITY
        S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=ANONYMOUS
        S: A001 OK done
        C: A002 AUTHENTICATE ANONYMOUS
        S: +
        C: c2lyaGM=
        S: A003 OK Welcome, trace information has been logged.

4. ��ȫ����

   �������������κ��˶���Ϣ���з��ʡ������Ĭ�������Ӧ��Ϊ��ֹ������Ա����������
ȷ�ľ����Ƿ���򿪡�

   ��������û�ӵ���κ�д��Ȩ�����Ϳ���ͨ��ռ��ȫ�����ÿռ䷢���ܾ�ʽ���񹥻�����
����ͨ���ر������û���дȨ�޽���Ԥ����

   ��������û���ͬһ��������˶�д���ʣ���ô�������ܹ����������ݵ���Ϣ����ͨѶ��
�ơ����������ύ�ķ�������ʵ����ͨ�ġ��½��ĺ��ӡ�ģʽ������ģʽ���ֹ������ȡ��
�������ύ������Ϣ������

   ��������û��ܹ���������߼��IJ�������IMAP SEARCH BODY�����Ҳ���ܻᵼ�¾ܾ�
ʽ���񹥻�����������������������û����������������ǵ�Ȩ�޻��������ǿ���ʹ�õ���
Դ

   ���û�и������û�ͣ�ٵĿ���ʱ�䲢��Ҳû�����������û����������Ϳ��Է����ܾ�ʽ
���񹥻���������Ӧ���������������в����в�����ʱ�䡣

   �ټ���Ϣ��������֤��������п��ܻᱻα�졣���������ʹ������������ʿ�����Ϣ��
�鷳������Ա�����Ҫ�о��׶˾�Ӧ����ʶ����Ϣ�ǿ�α��ġ�

   �ÿͻ�����ʵ��Email��ַ��Ϊ�ټ���Ϣ��δ����ȷ���ɻ��ַ��û�����˽Ȩ��  �й���
��һЩ�������⣨����Ű�����ĵ��������������ʵ��û���Ϣ����ǿ����˽������Ҫ�ġ���
����û�о��û���ȷͬ�⣬��Ӧ����email��ַ������Ӧ���ṩ��ѡ���û���ټ���Ϣ����
����������������ֻ����ԴIP��ַ��ʱ�䡣��������������Ӧ����俹�����ԣ���Ҳ����
������DZ�ڵĿ��ܵ��¾ܾ�ʽ���񹥻������ء�

   �������������ܵ����м���й������˵�Ӱ�죬���ǿ������������ı������͵����ݡ���
���ͻ��˺ͷ�����֧���ⲿ�������Ժ�ʹ�ü��ܻ��ơ�

   ���ܽ����ⲿ������¼��Э��������ܵ�ij������ͨ��ʵ�ּ���Ӱ�죬�ᱻ�жϲ��롣��
�ر���Unix�������ṩ�û���¼���������ʱ��Ϊroot���ݣ�������ȷ��¼��ű��л�
�����ʵ��û����ݡ�һ������£����ַ���������ȷ��¼ǰ�ܾ��κ����ݷ������������
�û����Խ���һ�����޵İ�ȫ�����У����磬Unix��chroot����������������û�û����ȷ
������ʣ����û���ⲿ������ʩ�Ļ��������û���û����ȷ������з��ʣ���ô��������
���ʻ�����ȫ��¶���ⲿ��ȫ����֮�¡�
   �ṩ�������ݷ��ʵ�Э�鲻Ӧ��������ȷ���ݵ�¼��ǰ�����������ݷ��ʡ�

5. �����

   [ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax
   Specifications: ABNF", RFC 2234, November 1997.

   [IMAIL] Crocker, D., "Standard for the Format of Arpa Internet Text
   Messages", STD 11, RFC 822, August 1982.

   [IMAP4] Crispin, M., "Internet Message Access Protocol - Version
   4rev1", RFC 2060, December 1996.

   [KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate
   Requirement Levels", RFC 2119, March 1997.

   [SASL] Myers, J., "Simple Authentication and Security Layer (SASL)",
   RFC 2222, October 1997.

6. ���ߵ�ַ

   Chris Newman
   Innosoft International, Inc.
   1050 Lakes Drive
   West Covina, CA 91790 USA

   Email: chris.newman@innosoft.com


7.  ȫ����Ȩ����

   Copyright (C) The Internet Society (1997).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
RFC2245����Anonymous SASL����                                           ����SASL����


1
RFC�����ĵ�����ƻ�