post...@ptld.com: > As of now the policy script writes values supplied by postfix to a log > file and returns the expected action=dunno and empty line. I designed > the PHP to run in a loop with no time outs for it to be available for > multiple request. My understanding of SMTPD_POLICY_README is postfix > will reuse the policy service multiple times. > > "Unless there was an error, the server must not close the connection, so > that the same connection can be used multiple times." > Did i take this too literal? > > My postfix setup it is not reusing connections. Every email spawns a new > instance. And since the script waits for the next request it doesn't > self terminate causing the system to fill up with zombie instances of > the script.
Your script is not doing what you think it does. Are there any warnings logged on the Postfix side? Wietse