FW: String found where operator expected

Joseph Lundgren josephl at NU-WORLD.COM
Sat Nov 23 02:50:04 GMT 2002


> Greetings!
>
> 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.
>
>
> Whenever I start up /opt/MailScanner/bin/check_mailscanner  I get the
> following output:
>
> Starting virus scanner...
> String found where operator expected at (eval 65) line 1, near
> "&__FILE__ ":""
>         (Missing operator before  ":"?)
>
>
> I then get several (hundreds) of the following errors logged to the
> terminal:
>
> 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.
>  at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184
> Can't use an undefined value as a symbol reference at
> /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN261> chunk 28.
>
> 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.
>  at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184
> Can't use an undefined value as a symbol reference at
> /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN262> chunk 28.
>
> 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.
>  at /opt/MailScanner/bin/MailScanner/RBLs.pm line 184
> Can't use an undefined value as a symbol reference at
> /opt/MailScanner/bin/MailScanner/RBLs.pm line 98, <GEN263> chunk 28.
>
>
> ######### Line 159 #########
>   eval {
> ---->>>>    close($writerfh);   <<<<----  line 159
>     local $SIG{ALRM} = sub { die "Command Timed Out" };
>     alarm MailScanner::Config::Value('spamlisttimeout');
>     # Read the list of matching RBL's printed by the child
>     while(<$readerfh>) {
> ######### Line 159 #########
>
>
> ######### Line 184 #########
>   # Catch failures other than the alarm
> ---->>>>  MailScanner::Log::DieLog("RBL Checks failed with real error:
> $@")  <<<<---- line 184
>     if $@ and $@ !~ /Command Timed Out/;
> ######### Line 184 #########
>
>
> ######### Line 98 #########
>   if ($pid == 0) {
>     # In the child
>     my($IsSpam, $RBLEntry);
> ---->>>>    close($readerfh);    <<<<---- line 98
>     POSIX::setsid();
> ######### Line 98 #########
>
>
>
> 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?
>
>
>
>
> Joseph Lundgren
> System Administrator
> josephl at nu-world.com
> Nu-World Communications
> http://www.nu-world.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20021122/174c8e63/attachment.html


More information about the MailScanner mailing list