# HG changeset patch # User Sergey Kandaurov # Date 1391866960 -14400 # Node ID 88c0d96b982568a097fcfa8f0810ca7676fd11cc # Parent 3ee0ba5f4f0885c6e141194d20212a3bfa634176 Documented the smtp_auth "none" method. Provided with exemplary auth request. diff -r 3ee0ba5f4f08 -r 88c0d96b9825 xml/en/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/en/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/en/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -160,6 +160,25 @@ + +If proxying SMTP does not require authentication, +a request will look as follows. + +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> + + + diff -r 3ee0ba5f4f08 -r 88c0d96b9825 xml/en/docs/mail/ngx_mail_smtp_module.xml --- a/xml/en/docs/mail/ngx_mail_smtp_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/en/docs/mail/ngx_mail_smtp_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -43,6 +43,11 @@ In order for this method to work, the password must be stored unencrypted. +none + +Authentication is not required. + + diff -r 3ee0ba5f4f08 -r 88c0d96b9825 xml/ru/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -157,6 +157,25 @@ + +Если при проксировании SMTP не требуется аутентификация, +запрос будет выглядеть так: + +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> + + +
diff -r 3ee0ba5f4f08 -r 88c0d96b9825 xml/ru/docs/mail/ngx_mail_smtp_module.xml --- a/xml/ru/docs/mail/ngx_mail_smtp_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/ru/docs/mail/ngx_mail_smtp_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -43,6 +43,11 @@ Для работы этого метода пароль должен храниться в незашифрованном виде. +none + +Аутентификация не требуется. + +