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:
# ADDED: use IO::Compress::Gzip qw(gzip $GzipError) ;
Further down in that subroutine, around line 1175:
# REMOVED: my $zhtml=Compress::Zlib::memGzip(join('',@{$r_htmls})); # ADDED 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 work!!
Many thanks to all, especially David!
- Jussi