Welcome! Log In Create A New Profile

Advanced

Re: Email Reverse Proxy issue

Maxim Dounin
June 02, 2014 08:28AM
Hello!

On Sun, Jun 01, 2014 at 06:30:49AM -0400, omercz wrote:

> I am using Nginx as an Email reverse proxy.
> The email client sends a request to the nginx, the nginx fetch the WHOLE
> email(message) from exchange server, and only then manipulates it and sends
> it back to client.

This is not how nginx mail proxy works.

> Email Client<---->Nginx<----> Office 365
>
> Everything is working great, besides the following problem, the Email client
> has a timeout of 30 seconds,
> but sometimes it can take the Nginx to download the whole email more the
> 30sec (if it has a big attachment).
>
> My question is as follow:
> In the meantime can the nginx send 'something' to the client to keep him
> aware that something is being downloaded ?
> Right now I have an ugly patch that sends on the open socket 'blanks' to the
> client every 20 seconds, until the nginx can send him the whole file.

After an authentication, nginx just establises opaque pipe between
a client and a server. Therefore, if the server sends anything,
it will be immediately passed to the client.

--
Maxim Dounin
http://nginx.org/

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

Email Reverse Proxy issue

omercz June 01, 2014 06:30AM

Re: Email Reverse Proxy issue

Maxim Dounin June 02, 2014 08:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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