Egoitz Aurrekoetxea Aurre:
> >>
> >> When you run the policy service under the Postfix spawn daemon,
> >> terminate when a read operation returns an end-of-file indication.
> >>
> >>    Wietse
> >
> > Hi Wietse,
> >
> > Have just read this... yep this is just what I do, I read from input  
> > fd with <> wich in perl does the trick. I didn't remember I exited  
> > from reading loops with this, because I ended writting this code  
> > perhaps one year ago... and from there has been in testing proccess  
> > although I haven't looked almost at the code because no errors have  
> > appeared. So... it's done then, all perfect :).
> >
> >
> > Bye thanks!!!
> 
> Although I simulated yesterday the pocily_time_limit exceed....
> 
> I set 40 seconds for policy time limit and too for  
> smtpd_policy_service_max_ttl.... I telneted the smtpd later after data  
> command I waited 2 minutes (for exceeding nice the 40 seconds) for  

Perhaps surprisingly, Postfix starts a new policy daemon when a
policy daemon process terminates too soon.

This means that Postfix is robust for such mistakes.

It is more efficient, however, when the policy daemon waits until
it is time to exit. In particular, exiting after each query would
be horrible inefficient.

        Wietse

Reply via email to