Filetype Reports in 4.24-5

Mariano Absatz mailscanner at LISTS.COM.AR
Tue Oct 7 22:27:13 IST 2003


Yup... it seems to be originated in my code, but I don't know if Julian modified this or not... however, try using 
this patch (WARNING!!!!! NOT TESTED):

--- Message.pm.orig     Tue Oct  7 18:18:40 2003
+++ Message.pm  Tue Oct  7 18:19:40 2003
@@ -1014,7 +1014,7 @@
   }
   while (($file, $text) = each %{$this->{namereports}}) {
     #print STDERR "Adding file $file report $text\n";
-    $text =~ s/\n(.)/\n$Name:  $1/g; # Make sure name is at the front of this
+    $text =~ s/\n(.)/\n$Name $1/g if $Name ; # Make sure name is at the front of this
     $this->{allreports}{$file} .= $Name . $text;
   }
   while (($file, $text) = each %{$this->{nametypes}}) {





El 7 Oct 2003 a las 21:39, Peter Bonivart escribió:

> Doesn't this sound like the patch Mariano made for 4.23? Julian said it
> was in for 4.24, I added it myself to 4.23 and it works just fine. It's
> supposed to insert "Mailscanner" before the colon if I'm not mistaken.
> 
> I haven't upgraded to 4.24 yet but has any one else seen this?
> 
> /Peter Bonivart
> 
> --Unix lovers do it in the Sun
> 
> Sun Fire V210, Solaris 9, MailScanner 4.23-11, SpamAssassin 2.60, ClamAV
> 20030829
> 
> Hirsh, Joshua wrote:
> > Hey All,
> >
> >  I just upgraded to 4.24-5 using the RPM release. Everything looks good so
> > far. I did notice, though, that in the admin reports I get emailed, the file
> > type field seems to have added a colon.
> >
> >  For example:
> >
> >     Report: dwarf4you.exe was infected by W32/Hybris-C
> >             Executable DOS/Windows programs are dangerous in email
> > (dwarf4you.exe)
> >             :  No programs allowed (dwarf4you.exe)
> >
> >     Report: patch.exe was infected by W32/Dumaru-A
> >             Executable DOS/Windows programs are dangerous in email
> > (patch.exe)
> >             :  No programs allowed (patch.exe)
> >
> >
> >  Any ideas?
> >
> >
> >  Cheers,
> > -Joshua
> >


--
Mariano Absatz
El Baby
----------------------------------------------------------
Nostalgia: The good old days multiplied by a bad memory...




More information about the MailScanner mailing list