~titusx/nginx/mainline

« back to all changes in this revision

Viewing changes to src/mail/ngx_mail.h

  • Committer: Maxim Dounin
  • Date: 2020-10-03 18:04:57 UTC
  • Revision ID: git-v1:1e92a0a4cef98902aed35d7b402a6a402951aba4
Mail: proxy_smtp_auth directive.

The proxy_smtp_auth directive instructs nginx to authenticate users
on backend via the AUTH command (using the PLAIN SASL mechanism),
similar to what is normally done for IMAP and POP3.

If xclient is enabled along with proxy_smtp_auth, the XCLIENT command
won't try to send the LOGIN parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
    ngx_smtp_auth_external,
163
163
    ngx_smtp_helo,
164
164
    ngx_smtp_helo_xclient,
 
165
    ngx_smtp_helo_auth,
165
166
    ngx_smtp_helo_from,
166
167
    ngx_smtp_xclient,
167
168
    ngx_smtp_xclient_from,
168
169
    ngx_smtp_xclient_helo,
 
170
    ngx_smtp_xclient_auth,
169
171
    ngx_smtp_from,
170
172
    ngx_smtp_to
171
173
} ngx_smtp_state_e;