Welcome! Log In Create A New Profile

Advanced

PROXY support in the ngx_mail_proxy_module

Ivanov, Konstantin
October 27, 2016 11:06AM
Hello,

We are using nginx behind an ELB with PROXY protocol enabled and the mail
module. After going though the code it became apparent that the mail module
we use in nginx to proxy to our upstream mail applications does not support
the PROXY command and it just returns a 500 from https://github.com/nginx/
nginx/blob/master/src/mail/ngx_mail_smtp_handler.c#L43.

Is there a reason why the mail module does not support the PROXY protocol?
It seems rather trivial to implement it in https://github.com/nginx/
nginx/blob/master/src/mail/ngx_mail.h#L153 and further up the chain. We could
probably use the stream module instead, but we use starttls and auth in the
mail module.


Cheers!
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

PROXY support in the ngx_mail_proxy_module

Ivanov, Konstantin 387 October 27, 2016 11:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready