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=0This 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:
/*++ /* NAME /* postscreen 3h /* SUMMARY /* postscreen internal interfaces /* SYNOPSIS /* #include <postscreen.h> /* DESCRIPTION /* .nf /* * System library. */ /* * Utility library. */ #include <dict_cache.h> #include <vstream.h> #include <vstring.h> #include <events.h> #include <htable.h> /* * Global library. */ #include <addr_match_list.h> #include <string_list.h> #include <maps.h> /* * Preliminary stuff, to be fixed. */ #define psc_check_queue_length_hiwat psc_hiwat #define psc_check_queue_length_lowat psc_lowat #define PSC_READ_BUF_SIZE 1024 ... When compiling with gcc it works as expected BTW. Regards Andreas
smime.p7s
Description: S/MIME Cryptographic Signature