On Sunday 28 September 2003 18:48 CET Matthias Fuhrmann wrote: > Hallo, > > I've got lotsa syslog entrys like the following ones: > > [...] > spamd[23223]: Use of uninitialized value in numeric eq (==) at > /opt/gnu/bin/spamd line 707, <GEN13> line 69 spamd[23223]: Use of > uninitialized value in numeric eq (==) at /opt/gnu/bin/spamd line 707, >[...] > > lines from my spamd: > > 707: $msgid ||= "(unknown)"; > 708: $current_user ||= "(unknown)";
I have the bad feeling that your Perl is heavily broken. Those lines are actually assigning values to the variables if they are undefined. And your wanring talks about the '==' operator which doesn't occur here (but maybe internally in the Perl guts). > here are some specs of my system: > sun solaris 5.8 > perl v5.8.0 built for sun4-solaris Did you compile Perl youself? And did you maybe use some aggressive optimizations like -O3? Perl 5.8.1 is out maybe you should have a try with that one... > the only thing i've changed within spamd was this one; > due to an error message while starting spamd from within an init script. > > my $log_facility = $opt{'syslog'} || 'mail'; > my $log_socket = $opt{'syslog-socket'} || 'unix'; > > into: > > my $log_socket = $opt{'syslog-socket'} || 'inet'; > > here is the line: > > /opt/gnu/bin/spamd -u milter -d -x -p 4478 -s mail Erm... huh? So you set the parameter -s to the default value "mail" but removed the line which assigns the value of $log_facility?? And you while you were using the -s parameter you hacked the source instead of setting --syslog-socket=inet? > does ne1 know whats going wrong here ? Yeah, it seems like you do weird things to your software ;-) Cheers, Malte -- [SGT] Simon G. Tatham: "How to Report Bugs Effectively" <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html> [ESR] Eric S. Raymond: "How To Ask Questions The Smart Way" <http://www.catb.org/~esr/faqs/smart-questions.html> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk