aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2020-10-03 21:04:57 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2020-10-03 21:04:57 +0300
commit1e92a0a4cef98902aed35d7b402a6a402951aba4 (patch)
tree64779fd37e143a30d36fb0e30eca6b144ed30eaf /src/mail/ngx_mail.h
parent8523ef8e8673cb4c586125b9913e753ee3a62f0c (diff)
downloadnginx-1e92a0a4cef98902aed35d7b402a6a402951aba4.tar.gz
nginx-1e92a0a4cef98902aed35d7b402a6a402951aba4.zip
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.
Diffstat (limited to 'src/mail/ngx_mail.h')
-rw-r--r--src/mail/ngx_mail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
index d904f25f1..25ac432b0 100644
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -162,10 +162,12 @@ typedef enum {
ngx_smtp_auth_external,
ngx_smtp_helo,
ngx_smtp_helo_xclient,
+ ngx_smtp_helo_auth,
ngx_smtp_helo_from,
ngx_smtp_xclient,
ngx_smtp_xclient_from,
ngx_smtp_xclient_helo,
+ ngx_smtp_xclient_auth,
ngx_smtp_from,
ngx_smtp_to
} ngx_smtp_state_e;