R: R: Little Report problem with Postfix

Gioia Bastioni gioia at bclink.it
Tue Jan 13 09:00:10 GMT 2004


Hi Drew,

well I repeated the Message.pm patching but still have the same recipients
duplication..
when I run the
patch Message.pm < patch.txt
it does not report to me if patched or not, just noticed that it seem to be
modified after doing that,
possibly I'm doing something wrong ? Or it may depends on what system we are
using ?
I'm using postfix 2.0.16 - MailScanner-4.24-5 - F-prot - Antivir
on Slackware

thanks,

-----Messaggio originale-----
Da: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]Per
conto di Drew Marshall
Inviato: lunedì 12 gennaio 2004 17.26
A: MAILSCANNER at JISCMAIL.AC.UK
Oggetto: Re: R: Little Report problem with Postfix


I patched mine and it works fine but I think I guessed the command as

#patch Message.pm < patch.txt

Which reported as patched and it works :-) so thought no more of it...

Drew
--


Gioia Bastioni said:
> Hi Julian,
> I've just had the time to try it
>
> sol at mydomain:/opt/MailScanner/lib/MailScanner/patch#
> rwxr-xr-x    2 root     root         4096 Jan 12 16:49 ./
> drwxr-xr-x    3 root     root         4096 Jan 12 16:49 ../
> -rwxr-xr-x    1 root     root       106825 Jan 12 16:49 Message.pm
> -rw-r--r--    1 root     root            0 Jan 12 16:46 patch.txt
>
> patch -p0 < patch.txt
>
> and replace the new Message.pm in /opt/MailScanner/lib/MailScanner
>
> stop and restart postfix and MailScanner and I've still the same problem
> ..
>  Recipient: user at mydomain.it, user at mydomain.it
>
> here's the new Message.pm
>
>
> -----Messaggio originale-----
> Da: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]Per
> conto di Julian Field
> Inviato: venerdì 9 gennaio 2004 15.12
> A: MAILSCANNER at JISCMAIL.AC.UK
> Oggetto: Re: Little Report problem with Postfix
>
>
> 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.htm
l
>>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
>


--
In line with our policy, this message has
been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.
www.themarshalls.co.uk/policy




More information about the MailScanner mailing list