ngx_mail_imap_module 模块

Directives

Syntax:

imap_auth method ...;
   

Default:

imap_auth plain;
   

Context:

mail, server
   

Sets permitted methods of authentication for IMAP clients. Supported methods are:

plain

LOGIN, AUTH=PLAIN

login

AUTH=LOGIN

cram-md5

AUTH=CRAM-MD5. In order for this method to work, the password must be stored unencrypted.

external

AUTH=EXTERNAL (1.11.6).

Plain text authentication methods (the LOGIN command, AUTH=PLAIN, and AUTH=LOGIN) are always enabled, though if the plain and login methods are not specified, AUTH=PLAIN and AUTH=LOGIN will not be automatically included in imap_capabilities.

Syntax:

imap_capabilities extension ...;
   

Default:

imap_capabilities IMAP4 IMAP4rev1 UIDPLUS;
   

Context:

mail, server
   

Sets the IMAP protocol extensions list that is passed to the client in response to the CAPABILITY command. The authentication methods specified in the imap_auth directive and STARTTLS are automatically added to this list depending on the starttls directive value.

It makes sense to specify the extensions supported by the IMAP backends to which the clients are proxied (if these extensions are related to commands used after the authentication, when nginx transparently proxies a client connection to the backend).

The current list of standardized extensions is published at www.iana.org.

Syntax:

imap_client_buffer size;
   

Default:

imap_client_buffer 4k|8k;
   

Context:

mail, server
   

Sets the size of the buffer used for reading IMAP commands. By default, the buffer size is equal to one memory page. This is either 4K or 8K, depending on a platform.

说说我的看法
全部评论(
没有评论
关于
本网站专注于 Java、数据库(MySQL、Oracle)、Linux、软件架构及大数据等多领域技术知识分享。涵盖丰富的原创与精选技术文章,助力技术传播与交流。无论是技术新手渴望入门,还是资深开发者寻求进阶,这里都能为您提供深度见解与实用经验,让复杂编码变得轻松易懂,携手共赴技术提升新高度。如有侵权,请来信告知:hxstrive@outlook.com
公众号