非常教程

Nginx参考手册

ngx_mail_proxy_module

ngx_mail_proxy_module

  • 指令
  • proxy_buffer
  • proxy_pass_error_message
  • proxy_timeout
  • X客户端

指令

句法:

proxy_buffer大小;

默认:

proxy_buffer 4k | 8k;

语境:

邮件,服务器

设置用于代理的缓冲区的大小。默认情况下,缓冲区大小等于一个内存页面。根据平台,它是4K或8K。

句法:

|上的proxy_pass_error_message 关闭;

默认:

proxy_pass_error_message关闭;

语境:

邮件,服务器

指示是否将在后端验证过程中获得的错误消息传递给客户端。

通常,如果nginx中的认证成功,则后端无法返回错误。如果它返回错误,则表示发生了一些内部错误。在这种情况下,后端消息可能包含不应显示给客户端的信息。但是,对于某些POP3服务器而言,正确密码的错误响应是正常行为。例如,CommuniGatePro 通过定期输出认证错误来通知用户邮箱溢出或其他事件。在这种情况下应该启用指令。

句法:

proxy_timeout超时;

默认:

proxy_timeout 24小时;

语境:

邮件,服务器

timeout在客户端或代理服务器连接上设置两次连续的读取或写入操作。如果在这段时间内没有数据传输,则连接关闭。

句法:

xclient on | 关闭;

默认:

xclient;

语境:

邮件,服务器

连接到SMTP后端时,启用或禁用XCLIENT命令与客户端参数的传递。

与此同时XCLIENT,MTA能够将客户信息写入日志并根据这些数据应用各种限制。

如果XCLIENT启用,则nginx在连接到后端时传递以下命令:

  • EHLO 与服务器名称
  • XCLIENT
  • EHLO或者HELO如客户所传递的那样

如果客户端IP地址找到的名称指向相同的地址,则会将其传递NAMEXCLIENT命令的参数中。如果找不到名称,指向不同的地址,或者没有指定解析器,[UNAVAILABLE]则传入NAME参数。如果在解析过程中发生错误,[TEMPUNAVAIL]则使用该值。

如果XCLIENT禁用,则nginx EHLO在连接到后端(如果客户端已经通过EHLO)或服务器名称连接到服务器名称时传递该命令,否则传递该命令HELO

ngx_mail_proxy_module
Nginx

Nginx是一款轻量级的 Web 服务器/反向代理服务器及电子邮件代理服务器,可在 BSD-like 协议下发行。其特点是占有内存少,并发能力强。

主页 https://nginx.org/
源码 http://hg.nginx.org/nginx
发布版本 1.13.6

Nginx目录

1.指南 | Guides
2.核心 | Core
3.ngx_google_perftools_module
4.ngx_http_access_module
5.ngx_http_addition_module
6.ngx_http_api_module
7.ngx_http_auth_basic_module
8.ngx_http_auth_jwt_module
9.ngx_http_auth_request_module
10.ngx_http_autoindex_module
11.ngx_http_browser_module
12.ngx_http_charset_module
13.ngx_http_core_module
14.ngx_http_dav_module
15.ngx_http_empty_gif_module
16.ngx_http_f4f_module
17.ngx_http_fastcgi_module
18.ngx_http_flv_module
19.ngx_http_geoip_module
20.ngx_http_geo_module
21.ngx_http_gunzip_module
22.ngx_http_gzip_module
23.ngx_http_gzip_static_module
24.ngx_http_headers_module
25.ngx_http_hls_module
26.ngx_http_image_filter_module
27.ngx_http_index_module
28.ngx_http_js_module
29.ngx_http_keyval_module
30.ngx_http_limit_conn_module
31.ngx_http_limit_req_module
32.ngx_http_log_module
33.ngx_http_map_module
34.ngx_http_memcached_module
35.ngx_http_mirror_module
36.ngx_http_mp4_module
37.ngx_http_perl_module
38.ngx_http_proxy_module
39.ngx_http_random_index_module
40.ngx_http_realip_module
41.ngx_http_referer_module
42.ngx_http_rewrite_module
43.ngx_http_scgi_module
44.ngx_http_secure_link_module
45.ngx_http_session_log_module
46.ngx_http_slice_module
47.ngx_http_spdy_module
48.ngx_http_split_clients_module
49.ngx_http_ssi_module
50.ngx_http_ssl_module
51.ngx_http_status_module
52.ngx_http_stub_status_module
53.ngx_http_sub_module
54.ngx_http_upstream_conf_module
55.ngx_http_upstream_hc_module
56.ngx_http_upstream_module
57.ngx_http_userid_module
58.ngx_http_uwsgi_module
59.ngx_http_v2_module
60.ngx_http_xslt_module
61.ngx_mail_auth_http_module
62.ngx_mail_core_module
63.ngx_mail_imap_module
64.ngx_mail_pop3_module
65.ngx_mail_proxy_module
66.ngx_mail_smtp_module
67.ngx_mail_ssl_module
68.ngx_stream_access_module
69.ngx_stream_core_module
70.ngx_stream_geoip_module
71.ngx_stream_geo_module
72.ngx_stream_js_module
73.ngx_stream_limit_conn_module
74.ngx_stream_log_module
75.ngx_stream_map_module
76.ngx_stream_proxy_module
77.ngx_stream_realip_module
78.ngx_stream_return_module
79.ngx_stream_split_clients_module
80.ngx_stream_ssl_module
81.ngx_stream_ssl_preread_module
82.ngx_stream_upstream_hc_module
83.ngx_stream_upstream_module