lst_ho...@kwsoft.de: > Zitat von Wietse Venema <wie...@porcupine.org>: > > > lst_ho...@kwsoft.de: > >> > This is what I expect to see (default_process_limit = 100): > >> > > >> > Jan 17 11:32:56 tail postfix/postscreen[17566]: > >> > postscreen_command_time_limit: stress=10 normal=300 lowat=70 hiwat=90 > >> > > >> > hiwat=90 means enter stress mode with 90 or more connections > >> > lowat=70 means leave stress mode with 70 or fewer connections. > >> > > >> > You don't want to leave verbose mode on because it slows down > >> > postscreen which handles by all SMTP connections. > >> > >> Here we go: > >> > >> Jan 17 17:43:47 hpux2 postfix/postscreen[29314]: > >> postscreen_command_time_limit: stress=10 normal=300 lowat=0 hiwat=0 > > > > This is worse than I expected. > > > > Can you please try the two #define statements at the top of > > postscreen.h > > > > #define psc_check_queue_length_hiwat psc_hiwat > > #define psc_check_queue_length_lowat psc_lowat > > > > Then recompile. > > Sorry, no. Both values stay at "0" after "make clean, make tidy, make > install" and editing the file like this:
OK, time for radical measures. 1) Remove the two lines that you added to postscreen.h. 2) In the postscreen directory: $ perl -pi -e 's/psc_check_queue_length_hiwat/psc_hiwat/g' *.[hc] $ perl -pi -e 's/psc_check_queue_length_lowat/psc_lowat/g' *.[hc] That makes them different within 6 characters. 3) Recompile, install, etc. Wietse