duane hill rmlijyournetpluscom mon 18 feb 2008 172853 0600 dan lists wrote feb 18 2008 512 pm victor duchovni wrote mon feb 18 2008 050250pm 0600 dan lists wrote wrote simple policy server using netserver works correctly except always close_waits sticking around tcpdump loopback device policy daemon closing side connection postfix taking 2 seconds close end perhaps coincidentally 2 seconds long takes postfix hand message content filter amavis maincf content_filtersmtpamavis12700110024 smtpd_end_of_data_restrictions check_policy_service inet1270019999 postfix leaving connection policy daemon open hand message amavis something else happening change behavior thoughts close_waits sitting around many seconds policy service expected disconnect unilaterally rather process multiple requests smtpd process smtp server disconnects set smtpd_policy_service_max_idle less policy servers timeout policy server answer multiple requests wasnt obvious reading smtpd_policy_readme toward top readme policy delegation preferred method adding policies postfix much easier develop new feature lines perl python ruby tcl trying c code difference performance unnoticeable except demanding environments active systems policy daemon process used multiple times max_use incoming smtp connections max_use default 100 maximal number incoming connections postfix daemon process service terminating voluntarily parameter ignored postfix queue manager longlived postfix daemon processes __ _ thu 07 aug 2008 014809 0000 policy server causing close_wait