Forum: NGINX Why does the unauthenticated SMTP proxy include auth_http statement?

Posted by Andy D'Arcy Jewell (Guest)
on 2013-01-15 14:57
(Received via mailing list)
Hi all,

Can anyone throw some light on this for me please?

Looking at:
http://wiki.nginx.org/Faq#How_can_Nginx_be_deploye...

It says "The example is for unauthenticated e-mail as you can see", but
the example clearly shows authentication:

---------------------------------------------------------
mail { server_name mail.somedomain.com;
     auth_http localhost:8008/auth-smtppass.php;
---------------------------------------------------------

So I'm confused - should this be in there? Because if so, I'm obviously
missing something about what unauthenticated means...

-Andy

--
Andy D'Arcy Jewell

SysMicro Limited
Linux Support
E:  andy.jewell@sysmicro.co.uk
W:  www.sysmicro.co.uk
Posted by Maxim Dounin (Guest)
on 2013-01-16 11:25
(Received via mailing list)
Hello!

On Tue, Jan 15, 2013 at 01:56:54PM +0000, Andy D'Arcy Jewell wrote:

> mail { server_name mail.somedomain.com;
>     auth_http localhost:8008/auth-smtppass.php;
> ---------------------------------------------------------
>
> So I'm confused - should this be in there? Because if so, I'm
> obviously missing something about what unauthenticated means...

The "auth_method none" still doesn't mean there is no
authentication/authorization at all, it means that it's done
without requiring a user to provide login/password.  Auth script
is still expected to do some form of authorization, e.g. by
checking ip and source/destination addresses provided.

--
Maxim Dounin
http://nginx.com/support.html
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.