Welcome! Log In Create A New Profile

Advanced

nginx mail starttls ip based

Marco
December 11, 2012 05:48AM
Hello,

I'm new in nginx world. I would like to configure a single nginx server
to proxy imap/pop servers with starttls option.

I would like that the "starttls" could be "on" on a list of known safe IPs
and "only" on other IPs. Using the same listen port and protocol.

Could you tell me how to achieve this?
Maybe, is there a way to set the starttls in auth phase?

For instance, let suppose I have configured this:

server {
listen 110;
protocol pop3;
starttls on;
proxy on;
}

server {
listen 110;
protocol pop3;
starttls only;
proxy on;
}

I would select first or second server block using Client-IP header.
Is it possible?

Thanks a lot.
Best Regards
Marco

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx mail starttls ip based

Marco December 11, 2012 05:48AM

Re: nginx mail starttls ip based

Maxim Dounin December 11, 2012 07:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
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