mail module support for LMTP

2024-10-23 Thread Phillip Odam
Hi I've used NGINX module's auth_http directive to great success with SMTP, IMAP and POP3. In particular the service I'm pointing to by NGINX's auth_http enables me to route mail connections differently based on the authenticated user or whoever the mail is addressed to. Going by the NGINX docume

Re: Establish TCP connection to upstream when client connection made to listener

2020-03-21 Thread Phillip Odam
Hi Francis Thanks for the detail. And you're quite right the issue had nothing to do with NGINX, it was the loadbalancer out in front of NGINX. Cheers Phillip On 3/20/20 10:43 AM, Francis Daly wrote: On Fri, Mar 20, 2020 at 09:57:40AM -0400, Phillip Odam wrote: Hi there, I'm l

Establish TCP connection to upstream when client connection made to listener

2020-03-20 Thread Phillip Odam
Hi I'm looking for when a client establishes a TCP connection to an IP and port, that NGINX is listening on, that NGINX, without waiting on data being transmitted from the client to NGINX, would establish a TCP connection to the upstream. If such a capability were to exist I'd have thought i

Re: Using NGINX to reverse proxy hundreds of ports

2020-03-02 Thread Phillip Odam
Nice, hadn’t noticed the port range capability. The proxy_pass and just directly referencing the ip would make it nice and concise. Unfortunately I am wanting to balance across multiple backends, but this is all good to know come different requirements. Cheers On Mon, Mar 2, 2020 at 2:02 PM Rein

Using NGINX to reverse proxy hundreds of ports

2020-03-02 Thread Phillip Odam
Hi So far from my reading and testing of NGINX I can't find a compact way of configuring NGINX as I've done here with HAProxy config. Disregard the bind on a port range, I get that the NGINX listen statement works on an individual port basis, so the equivalent of what's below in NGINX would at

Re: Mail Proxy with Multiple Mail Domains

2019-11-13 Thread Phillip Odam
The only issue we encountered using the nginx Mail auth api was in finding out what encoding is used for the header values. In Java we currently use the following to decode the password password = URLDecoder.decode(password.replaceAll("\\+", "%2b"), "UTF-8"); My understanding is that nginx encode

Re: stream server name question

2019-08-26 Thread Phillip Odam
Not inside the stream it won't... you'll need the map to at least be inside http and probably server. [RosettaHealth] Phillip Odam Principal Engineer, RosettaHealth rosettahealth.com e: phillip.o...@rosettahealth.com o: 202.350.4343 a: 2 Wisconsin Circle, Chevy

Re: stream server name question

2019-08-26 Thread Phillip Odam
Hi Louis The variable I think you're looking for is $host - http://nginx.org/en/docs/http/ngx_http_core_module.html#variables On 8/26/19 8:55 PM, Louis Garcia wrote: I am able to use $ssl_preread_server_name to get the server name. This is with https requests. Is there a corresponding embedd

Needing TLS handshake to fail

2019-08-25 Thread Phillip Odam
Hi, I have a project that involves mutual / two way TLS and one of the requirements is that the TLS handshake must fail ie. be terminated before completion if the handshake is in anyway unsuccessful, eg. no client certificate provided or client certificate not trusted. After having no succes