...

Is it perhaps my name and the fact that it shows that I am a woman.
My policy daemon runs just fine. It handles multiple requests at the same
time.
For some reason it is impossible for me to explain that the problem is that
Postfix is not connecting multiple times at the same time.
I think I have a better idea, I will look this part of the code up in the
Postfix source itself, just to prove my point.
It's said that people just won't take you serious if you're a woman.



-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones
Sent: vrijdag 26 februari 2016 20:08
To: postfix-users@postfix.org
Subject: Re: Postfix & check_policyd_service no concurrent connections?

On 2/26/2016 12:09 PM, Saskia van Schagen wrote:
> If two smtpd processes would talk over the same connection at the same 
> time, we may receive something like this:

No, that's where you go very wrong.  Each smtpd process has its own
connection and there is no crosstalk.

This is similar to how you and I can both connect to a single web page and
see our own results.

Your policy service design is broken.



To test your policy service:

open two console windows.

In each window, use telnet to connect to your policy service.  Both should
connect immediately.

hand-send a policy request in each window.  Each window should reply to the
data you send in that window.  The connection should not close after the
reply.

Now send another request in each window, and get a reply.  Repeat...
behavior should be the same each time.

Close telnet. Now the policy service can close.

This is exactly what postfix does.




  -- Noel Jones

Reply via email to