nginx

Module ngx_mail_smtp_module


english
русский

简体中文
עברית
日本語
türkçe

news
about
download
security advisories
documentation
pgp keys
faq
links
books
support
donation

trac
wiki
twitter
nginx.com
Directives
     smtp_auth
     smtp_capabilities

Directives

syntax: smtp_auth method ...;
default:
smtp_auth login plain;
context: mail, server

Sets permitted methods of SASL authentication for SMTP clients. Supported methods are:

login
AUTH LOGIN
plain
AUTH PLAIN
cram-md5
AUTH CRAM-MD5. In order for this method to work, the password must be stored unencrypted.

syntax: smtp_capabilities extension ...;
default:
context: mail, server

Allows to specify the SMTP protocol extensions list to be passed to the client in the response to the EHLO command. Authentication methods specified in the smtp_auth directive are automatically added to this list.

It makes sense to specify extensions supported by MTA to which clients are proxied (if this extensions are related to commands used after the authentication, when nginx transparently proxies the client connection to the backend).

The current list of standardized extensions is published at the www.iana.org.