Oops... here's the PCSCRIPTS part with a couple of fixes:
use warnings;
use strict;
my $CFG;
my $TMP;
open(CFG, '<', shift) or exit;
open(TMP, '>', shift) or die "imapproxy.postint: could not open: $!";
my %params = map { $_ => undef } split(/\s/, $ENV{'PARAMS'});
while ()
{
my ($key)
This more or less untested patch should hopefully help. Please note that
there are more policy violations here, like not respecting removed
config files.
Shipping the config file and modifying it in place is probably a better
idea then copying it from documentation/examples directory.
--
Regards,
2 matches
Mail list logo