Mail Proxy with xclient - connection lost

2017-01-25 Thread coolmike
Hi I try to build a Mail proxy with nginx. It works already quite well, but I need the real IP addresses in the header. Therefore I tried to use xclient. But when I enable it, I just get the following at my exim mailserver log: 2017-01-20 13:42:00 SMTP connection from [46.xx.xx.xx]:54087 (TCP/I

Mail Proxy with xclient - connection lost

2017-01-25 Thread coolmike
Hi I try to build a Mail proxy with nginx. It works already quite well, but I need the real IP addresses in the header. Therefore I tried to use xclient. But when I enable it, I just get the following at my exim mailserver log: 2017-01-20 13:42:00 SMTP connection from [46.xx.xx.xx]:54087 (TCP/I

Re: Rate limiting by percentage

2017-01-25 Thread Igor A. Ippolitov
Hello, Have a look at split_clients which does something similar: http://nginx.org/en/docs/http/ngx_http_split_clients_module.html You can use resulting variable to select upstream, response or whatever you need. On 25.01.2017 03:01, Thangamani J wrote: Hi team, I'm in process of implementi

Re: Rate limiting by percentage

2017-01-25 Thread Francis Daly
On Tue, Jan 24, 2017 at 04:01:18PM -0800, Thangamani J wrote: Hi there, > I'm in process of implementing following use case, please help me with your > inputs. > > let's say I have endpoint /rate-limit and it should > 75% of time, it should return "SUCCESS" as text > 25% of time, it should retur

Re: Can Nginx route SMTP based on login credentials?

2017-01-25 Thread Francis Daly
On Wed, Jan 25, 2017 at 11:13:16AM -0500, spockdude wrote: > spockdude Wrote: Hi there, > > Can Nginx do this or does it always just > > spread that traffic between all backend servers? (There are no backend servers configured in nginx, for mail.) > https://www.nginx.com/resources/admin-guide/m

Re: Can Nginx route SMTP based on login credentials?

2017-01-25 Thread spockdude
spockdude Wrote: --- > I have several users using the same mail host (smtp.example.com) to > send outbound email using authentication. I would like to split it up > into several outbound servers and assign specific users to specific > mail server

Re: [nginx-announce] nginx-1.11.9

2017-01-25 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.11.9 for Windows https://kevinworthington.com/nginxwin1119 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announce