OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: smtpd_proxy_timeout limits client connection duration?

From: Wietse Venema (wietseporcupine.org)
Date: Sat Oct 02 2004 - 09:02:36 CDT


Yves Junqueira:
> My doubt is, suppose I am receiving a big mail in a slow link. Postfix
> is getting it, and it will transparently "send" it to the pre-queue
> once connection ends.

That is incorrect, and it is also inconsistent with the description
with the SMTPD_PROXY feature, which states that the client receives
the filter's accept/reject status BEFORE the connection ends.

> My ignorant user guess is that while Postfix receives the DATA, it
> will concurrently send it to the proxy.

Correct.

> If the timeout expires, even
> though postfix itself has not finished sending the DATA, it will send
> an error to the client.

The timeout limits the duration of individual READ/WRITE operations,
such as SMTP commands and replies, and blocks of DATA content.

        Wietse