> Logwatch 5.2.2 (released 06/23/04) > This is perl, v5.8.5 built for i386-linux-thread-multi > > I get a number of errors in the script itself in this environment. > Haven't tested elsewhere (I don't have an elsewhere!) > > Would this suggest I should upgrade logwatch or is there > another issue, perhaps with perl?
Thanks for the report. I do not believe the filter will work with this old version of logwatch. Please upgrade and report back if problems exist. > > Unquoted string "undefined" may clash with future reserved word at > /etc/log.d/scripts/services/amavis line 462. > main::printTree() called too early to check prototype at > /etc/log.d/scripts/services/amavis line 462. > Unquoted string "undefined" may clash with future reserved word at > /etc/log.d/scripts/services/amavis line 544. > main::buildTree() called too early to check prototype at > /etc/log.d/scripts/services/amavis line 516. > Use of uninitialized value in concatenation (.) or string at > /etc/log.d/scripts/services/amavis line 164, <STDIN> line 7642. > Use of uninitialized value in concatenation (.) or string at > /etc/log.d/scripts/services/amavis line 165, <STDIN> line 7642. > Use of uninitialized value in hash element at > /etc/log.d/scripts/services/amavis line 165, <STDIN> line 7642. > Use of uninitialized value in addition (+) at > /etc/log.d/scripts/services/amavis line 564, <STDIN> line 18705. > A couple of these were my errors; I've fixed the filter and uploaded it. Other's are normal errors when "warnings" is enabled (which it appears to be on your logwatch), as Perl allows the use of uninitialized variables, and autovivifies them into existence as needed. Many logwatch script rely on this behavior. I've disabled such warnings, but still think you will need to update your logwatch. MrC ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
