Welcome! Log In Create A New Profile

Advanced

Re: NGiNX does not pass SMTP AUTH command to server?

Andree Leidenfrost
February 28, 2010 08:08AM
Hi Maxim!

On Sun, 2010-02-28 at 15:41 +0300, Maxim Dounin wrote:
> Hello!
>
> On Sun, Feb 28, 2010 at 10:18:59PM +1100, Andree Leidenfrost wrote:
>
> > NGiNX authenticates fine for IMAP and POP3. Is it not somewhat
> > inconsistent that it does not authenticate for SMTP? Especially as it
> > seems to work the second time??? If the SMTP server can take care of
> > authentication in the first place, would it not be a good thing to
> > utilise this rather than relying on an additional authentication
> > mechanism?
>
> It is believed that there is no need to re-authenticate against
> smtp backend as it doesn't provide any additional value (unlike
> POP3 and IMAP where it's required to obtain access to specific
> mailbox).

I for once would like to use the SMTP backend for authentication. ;-)
(This is why I use a static/primitive http_auth server.) NGiNX seems to
be able to pass the AUTH command through the second time, so on
principle, I suppose, this could also work the first time? (You decide
whether this is worthwhile to support by NGiNX.)

As a side note, I would really appreciate to be able to securely
communicate to any of the backends via SSL from NGiNX, be that POP3,
IMAP or SMTP or whatever - it's letters versus postcards even within
organisations - I like the privacy of letters.

> > Has the patch you mention actually been put in front of the Postfix
> > people?
>
> AFAIK, no. But I may be wrong, I'm not the author of the patch
> in question.
>
> > I have no idea what RFCs may exist for this xclient stuff (and I
> > have not really been able to find anything definitive on this on the
> > internet),
>
> XCLIENT was originally implemented in Postfix, and there is no
> RFC. There is also patch for Exim to support it (developed by
> Vsevolod Stakhov, cebka.pp.ru; the patch was made for nginx and
> supports LOGIN attribute).

Thank you! If this is a Postfix thing in the first place, the Postfix
people should really be talked to, I guess? Not much point having a
patch that may never make it into upstream Postfix (unless you operate
in an environment where components are hand-patched all the time)?

> [...]
>
> Maxim Dounin
>
> p.s. Please do not top-post. Thank you.

Thanks a lot & best regards,
Andree

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


--
Andree Leidenfrost
Sydney - Australia
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGiNX does not pass SMTP AUTH command to server?

Andree Leidenfrost February 28, 2010 04:08AM

Re: NGiNX does not pass SMTP AUTH command to server?

Maxim Dounin February 28, 2010 04:56AM

Re: NGiNX does not pass SMTP AUTH command to server?

Andree Leidenfrost February 28, 2010 06:22AM

Re: NGiNX does not pass SMTP AUTH command to server?

Maxim Dounin February 28, 2010 07:46AM

Re: NGiNX does not pass SMTP AUTH command to server?

Andree Leidenfrost February 28, 2010 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready