Mail directives

proxy (mail-proxy)

Source-derived reference for Nginx 1.30.6: enables or disables mail proxying in mail and server contexts; inherited value falls back to off. This flag is registered in the module source but omitted from the official mail proxy directive index. Not the proxy_protocol directive. Exact upstream 1.26.3 source and local mail module execution remain unverified. The example is an illustrative fragment only, not a complete mail service configuration.

Formal Syntax & Structure

nginx syntaxnginx
proxy on | off;

Parameters & Attributes

NameTypeDescription
stateon | offEnable or disable mail proxying. In the inspected 1.30.6 source the server configuration inherits this flag from the mail configuration, with an off fallback. Verify the exact deployed version and module before use.

Working Example

Example Snippetnginx
proxy on;
Nginx Reference