Mercurial > hg > nginx-site
changeset 1065:88c0d96b9825
Documented the smtp_auth "none" method.
Provided with exemplary auth request.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sat, 08 Feb 2014 17:42:40 +0400 |
parents | 3ee0ba5f4f08 |
children | de77e295c073 |
files | xml/en/docs/mail/ngx_mail_auth_http_module.xml xml/en/docs/mail/ngx_mail_smtp_module.xml xml/ru/docs/mail/ngx_mail_auth_http_module.xml xml/ru/docs/mail/ngx_mail_smtp_module.xml |
diffstat | 4 files changed, 50 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/mail/ngx_mail_auth_http_module.xml +++ b/xml/en/docs/mail/ngx_mail_auth_http_module.xml @@ -160,6 +160,25 @@ 451 4.3.0 Temporary server problem, try </example> </para> +<para> +If proxying SMTP does not require authentication, +a request will look as follows. +<example> +GET /auth HTTP/1.0 +Host: localhost +Auth-Method: none +Auth-User: +Auth-Pass: +Auth-Protocol: smtp +Auth-Login-Attempt: 1 +Client-IP: 192.0.2.42 +Client-Host: client.example.org +Auth-SMTP-Helo: client.example.org +Auth-SMTP-From: MAIL FROM: <> +Auth-SMTP-To: RCPT TO: <postmaster@mail.example.com> +</example> +</para> + </section> </module>
--- a/xml/en/docs/mail/ngx_mail_smtp_module.xml +++ b/xml/en/docs/mail/ngx_mail_smtp_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_mail_smtp_module" link="/en/docs/mail/ngx_mail_smtp_module.html" lang="en" - rev="1"> + rev="2"> <section id="directives" name="Directives"> @@ -43,6 +43,11 @@ Supported methods are: In order for this method to work, the password must be stored unencrypted. </tag-desc> +<tag-name><literal>none</literal></tag-name> +<tag-desc> +Authentication is not required. +</tag-desc> + </list> </para>
--- a/xml/ru/docs/mail/ngx_mail_auth_http_module.xml +++ b/xml/ru/docs/mail/ngx_mail_auth_http_module.xml @@ -157,6 +157,25 @@ 451 4.3.0 Temporary server problem, try </example> </para> +<para> +Если при проксировании SMTP не требуется аутентификация, +запрос будет выглядеть так: +<example> +GET /auth HTTP/1.0 +Host: localhost +Auth-Method: none +Auth-User: +Auth-Pass: +Auth-Protocol: smtp +Auth-Login-Attempt: 1 +Client-IP: 192.0.2.42 +Client-Host: client.example.org +Auth-SMTP-Helo: client.example.org +Auth-SMTP-From: MAIL FROM: <> +Auth-SMTP-To: RCPT TO: <postmaster@mail.example.com> +</example> +</para> + </section> </module>
--- a/xml/ru/docs/mail/ngx_mail_smtp_module.xml +++ b/xml/ru/docs/mail/ngx_mail_smtp_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_mail_smtp_module" link="/ru/docs/mail/ngx_mail_smtp_module.html" lang="ru" - rev="1"> + rev="2"> <section id="directives" name="Директивы"> @@ -43,6 +43,11 @@ SMTP-клиентов. Для работы этого метода пароль должен храниться в незашифрованном виде. </tag-desc> +<tag-name><literal>none</literal></tag-name> +<tag-desc> +Аутентификация не требуется. +</tag-desc> + </list> </para>