(Fwd) virus scanning with virus delivery
Mariano Absatz
mailscanner at LISTS.COM.AR
Mon Apr 26 19:56:14 IST 2004
Hi Julian,
I know this sounds awfully strange, but I have the following request (please,
don't ask why):
I need to do virus scanning and logging but NOT removing.
That is, the message must be checked for viruses and vulnerabilities, which
will be logged and marked in the X-MailScanner: header, but the message must
pass thru intact (that is, with all viruses and vulnerabilities in it).
Do you think that would be possible?
Or maybe an easy hack? (I can take pointers and do it by myself... I don't
think _this_ could be a popular request :-)
Would immediately returning from MailScanner::Message::Clean() would do
this without breaking anything? that is, except for the recipient's
computer :-P
That is, within Message.pm:
sub Clean {
my $this = shift;
# DON'T CLEAN ANY MESSAGE!!!
return;
# Get out if nothing to do
#print STDERR "Have we got anything to do?\n";
return unless ($this->{allreports} && %{$this->{allreports}}) ||
($this->{entityreports} && %{$this->{entityreports}});
#print STDERR "Yes we have\n";
...
}
TIA
--
Mariano Absatz
El Baby
----------------------------------------------------------
Bus error -- passengers dumped.
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at http://www.mailscanner.biz/maq/ and the archives
at http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list