[CentOS] SOLVED (Re: Openwebmail emergency (Perl))

Jussi Hirvi listmember at greenspot.fi
Tue Oct 12 10:50:16 UTC 2010

Ok, I found a fix. I had to learn a little perl for that. :-)

The offending file was /var/www/cgi-bin/openwebmail/shared/ow-shared.pm

In that file, at the top of subroutine httpprint:

     use IO::Compress::Gzip qw(gzip $GzipError) ;

Further down in that subroutine, around line 1175:

     my $zhtml=Compress::Zlib::memGzip(join('',@{$r_htmls}));
         my $zhtml;
         my $input = join('',@{$r_htmls});
         gzip  \$input => \$zhtml or die "gzip failed: $GzipError\n";

I will do the same fix to the other occurrences, and trust that it will 

Many thanks to all, especially David!

- Jussi

Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi

More information about the CentOS mailing list