Little Report problem with Postfix

Julian Field mailscanner at ecs.soton.ac.uk
Fri Jan 9 14:11:58 GMT 2004


Please try this patch for /usr/lib/MailScanner/MailScanner/Message.pm.

---------SNIP------------
--- Message.pm  2003-12-02 11:44:42.000000000 +0000
+++ Message.pm.new      2004-01-09 14:12:09.000000000 +0000
@@ -2315,11 +2315,17 @@
    my $reportword = MailScanner::Config::LanguageValue($this, "report");
    my $id   = $this->{id};
    my $from = $this->{from};
-  my $to   = join(', ', @{$this->{to}});
+  #my $to   = join(', ', @{$this->{to}});
    my $subj = $this->{subject};
    my $rept = join("    $reportword: ", @everyrept);
    my $ip   = $this->{clientip};

+  my($to, %tolist);
+  foreach $to (@{$this->{to}}) {
+    $tolist{$to} = 1;
+  }
+  $to = join(', ', sort keys %tolist);
+
    my($result, $headers);

    if (MailScanner::Config::Value('hideworkdirinnotice',$this)) {
---------SNIP------------

At 13:06 09/01/2004, you wrote:
>Hi guys,
>
>I've I have the seguent Report from Mailscanner when a Virus is found:
>
>*********************************
>"The following e-mail messages were found to have viruses in them:
>
>     Sender: admin at mydomain.it
>IP Address: xxx.xxx.xxx.xxx
>  Recipient: user at mydomain.it, user at mydomain.it
>    Subject: your account                         yijefwov
>  MessageID: 28A7433F302
>     Report: AntiVir: ALERT: [Worm/MiMail.A1 virus] ./28A7433F302/message.zip
><<< Contains signature of the worm Worm/MiMail.A1
>             F-Prot:
>/var/spool/MailScanner/incoming/12726/28A7433F302/message.zip->message.html
>Infection: W32/Mimail.A at mm"
>*********************************
>
>It only affects the reporting and doesn't have any impact on message
>delivery at all.
>
>I found that someone else (the link below) pointed out this little problem,
>but had no response.
>
>http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0311&L=mailscanner&T=0&F=&S=&
>P=27533
>
>Just want to know if someone has an idea of why this happen..
>
>I'm using Postfix MTA with Mailscanner 4-24.5 with both Antivir and F-Prot
>software
>
>Thanks all! Thanks Julian

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list