<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>FW: String found where operator expected</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Courier New">Greetings!</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">Recently, I've begun to have problems with MailScanner 4.05-3 running on perl 5.005_03 built for i386-bsdos(BSD/OS 4.3) using SpamAssassin-2.43. We're using ClamAV as our virus scanner. This behavior happens on my existing installation of MailScanner 4.05(??) and on a brand new fresh install of MailScanner 4.05-3 on a new, fresh installation of BSD/OS 4.3.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Courier New">Whenever I start up /opt/MailScanner/bin/check_mailscanner I get the following output:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">Starting virus scanner...</FONT>
<BR><FONT SIZE=2 FACE="Courier New">String found where operator expected at (eval 65) line 1, near "&__FILE__ ":""</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> (Missing operator before ":"?)</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New">I then get several (hundreds) of the following errors logged to the terminal:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">RBL Checks failed with real error: Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 159, <GEN261> chunk 28.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New"> at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN261> chunk 28.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">RBL Checks failed with real error: Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 159, <GEN262> chunk 28.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New"> at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN262> chunk 28.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">RBL Checks failed with real error: Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 159, <GEN263> chunk 28.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New"> at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Can't use an undefined value as a symbol reference at /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN263> chunk 28.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Courier New">######### Line 159 #########</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> eval {</FONT>
<BR><FONT SIZE=2 FACE="Courier New">---->>>> close($writerfh); <<<<---- line 159</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> local $SIG{ALRM} = sub { die "Command Timed Out" };</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> alarm MailScanner::Config::Value('spamlisttimeout');</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> # Read the list of matching RBL's printed by the child</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> while(<$readerfh>) {</FONT>
<BR><FONT SIZE=2 FACE="Courier New">######### Line 159 #########</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New">######### Line 184 #########</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> # Catch failures other than the alarm</FONT>
<BR><FONT SIZE=2 FACE="Courier New">---->>>> MailScanner::Log::DieLog("RBL Checks failed with real error: $@") <<<<---- line 184</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> if $@ and $@ !~ /Command Timed Out/;</FONT>
<BR><FONT SIZE=2 FACE="Courier New">######### Line 184 #########</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New">######### Line 98 #########</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> if ($pid == 0) {</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> # In the child</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> my($IsSpam, $RBLEntry);</FONT>
<BR><FONT SIZE=2 FACE="Courier New">---->>>> close($readerfh); <<<<---- line 98</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> POSIX::setsid();</FONT>
<BR><FONT SIZE=2 FACE="Courier New">######### Line 98 #########</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Courier New">Please help!! I have no idea what caused this problem. I have tried to disable all RBL behavior, both in MailScanner, and in SpamAssassin, but the errors persist. Do any of you have an idea what might be causing such a thing?</FONT></P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Courier New">Joseph Lundgren</FONT>
<BR><FONT SIZE=2 FACE="Courier New">System Administrator</FONT>
<BR><FONT SIZE=2 FACE="Courier New">josephl@nu-world.com</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Nu-World Communications</FONT>
<BR><A HREF="http://www.nu-world.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">http://www.nu-world.com</FONT></U></A>
</P>
<BR>
</BODY>
</HTML>