=encoding utf-8 =head1 NAME ngx_mail_proxy_module - Module ngx_mail_proxy_module =head1 Directives =head2 proxy_buffer B proxy_buffer I>> B I<4kE8k> B I B I Sets the size of the buffer used for proxying. By default, the buffer size is equal to one memory page. Depending on a platform, it is either 4K or 8K. =head2 proxy_pass_error_message B proxy_pass_error_message I E C> B I B I B I Indicates whether to pass the error message obtained during the authentication on the backend to the client. Usually, if the authentication in nginx is a success, the backend cannot return an error. If it nevertheless returns an error, it means some internal error has occurred. In such case the backend message can contain information that should not be shown to the client. However, responding with an error for the correct password is a normal behavior for some POP3 servers. For example, CommuniGatePro informs a user about L or other events by periodically outputting the L. The directive should be enabled in this case. =head2 proxy_timeout B proxy_timeout I>> B I<24h> B I B I Sets the I> between two successive read or write operations on client or proxied server connections. If no data is transmitted within this time, the connection is closed. =head2 xclient B xclient I E C> B I B I B I Enables or disables the passing of the L command with client parameters when connecting to the SMTP backend. With C, the MTA is able to write client information to the log and apply various limitations based on this data. If C is enabled then nginx passes the following commands when connecting to the backend: =over =item * C with the L =item * C< XCLIENT > =item * C or C, as passed by the client =back If the name L by the client IP address points to the same address, it is passed in the C parameter of the C command. If the name could not be found, points to a different address, or L is not specified, the C<[UNAVAILABLE]> is passed in the C parameter. If an error has occurred in the process of resolving, the C<[TEMPUNAVAIL]> value is used. If C is disabled then nginx passes the C command with the L when connecting to the backend if the client has passed C, or C with the server name, otherwise.