Mail directives
protocol (mail-core)
Selects the protocol handled by a mail server.
Formal Syntax & Structure
nginx syntaxnginx
protocol imap | pop3 | smtp;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| protocol | imap | pop3 | smtp | Explicitly select mail protocol, especially on nonstandard ports. |
Working Example
Example Snippetnginx
protocol imap;