Skip Menu |

This queue is for tickets about the File-Scan CPAN distribution.

Report information
The Basics
Id: 13325
Status: new
Priority: 0/
Queue: File-Scan

People
Owner: Nobody in particular
Requestors: banecki [...] biotech.univ.gda.pl
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.43
Fixed in: (no value)



Subject: procmail
The procmailrc doesn't work under solaris 10. In the file /examples/procmail/scanvirus.pl - attached to email files are not extracted. Problem is in: sub main { ... my $explode = MIME::Explode->new( output_dir => $tmp_dir, check_content_type => 1, decode_subject => 1, exclude_types => ["image/gif", "image/jpeg"], ); ... exists($headers->{$msg}->{'content-disposition'}->{'filepath'})) { .... Reason: 'filepath' is empty in MIME::Explode, probably 'filename' should be used. Probably should be: my $explode = MIME::Explode->new( output_dir => $tmp_dir, mkdir => 0755, decode_subject => 1, check_content_type => 1, content_types => ["image/gif", "image/jpeg", "image/bmp"], types_action => "exclude" ); perl -v This is perl, v5.8.5 built for i86pc-solaris uname -a SunOS magda 5.10 s10_72 i86pc i386 i86pc Bogdan Banecki