Nginx Module Reference manual: Message agent module (mail proxy)

Source: Internet
Author: User
Keywords Nginx mail agent module
Tags authentication client default default value error mail mail agent module nginx

Nginx can proxy IMAP, POP3, and SMTP protocols.

Instructions

Proxy

Syntax: Proxy on | Off
Default value: Off
Working with fields: Mail, server
Sets whether mail agents are enabled.

Proxy_buffer

Syntax: Proxy_buffer size
Default value: 4k/8k
Working with fields: Mail, server
Sets the buffer size for the proxy connection, which defaults to paging size, which may be 4k or 8k depending on the operating system.

Proxy_pass_error_message

Syntax: Proxy_pass_error_message on | Off
Default value: Off
Working with fields: Mail, server
You can pass the error authentication http://www.aliyun.com/zixun/aggregation/38653.html "> information from the backend to the client, usually if the Nginx authentication is passed, then the backend error message cannot be delivered to the client.
However, some POP3 errors in the correct password answer, such as Communigatepro notify the user that a mailbox exceeds the capacity limit (or other events) will issue a periodic error in the authentication, in which case it is necessary to open the proxy_error_message.

Proxy_timeout

Syntax: Proxy_timeout time
Default value: 24h
Working with fields: Mail, server
Sets the timeout time for the proxy connection.

Xclient

Syntax: Xclient on | Off
Default value: On
Working with fields: Mail, server
Whether to enable the Xclient command for SMTP back-end connections, this allows the backend to enforce client connections on Ip/helo/login.
If Xclient is enabled, then Nginx is first forwarded to the backend:

EHLO server_name

And then:

Xclient proto=esmtp helo=client_helo addr=client_ip login=authentificated_user name=[unavailable]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.