Scott Kitterman:
> If Postfix smtpd is waiting for a response to an in progress request

An SMTP client request or policy request?

> and the smtpd_policy_service_timeout is reached, does Postfix keep
> the pipe open until that request completes or does it close it
> right away?

smtpd_policy_service_timeout is the limit for connecting to, writing
to, or receiving from a policy server. 

- If this expires while the Postfix SMTP server is waiting for an
SMTP client request, nothing happens.

- If this expires while writing to, or receiving from a policy
server, the Postfix SMTP server will disconnect from the policy
server, and new connection, and retry the policy request.

> Is it sufficient to set it to slightly higher than the maximum
> time the policy service is supposed to run for a single request
> are should it be substantially higher than that?

I would not recommend to set timeouts just a little higher than
needed. If, not when, some system becomes overloaded, having 'tight'
timeouts will just make things worse.

        Wietse

Reply via email to