diff --git a/Changes b/Changes index 1414edd..36b1a4b 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ 0.26-dev + Fix bug hiding the error message when an existing configuration file + isn't readable. + If a plugin running the ehlo hook add something to the ARRAY reference $self->transaction->notes('capabilities') then it will be added to the EHLO response. diff --git a/lib/Qpsmtpd.pm b/lib/Qpsmtpd.pm index d09b4dd..7f24e27 100644 --- a/lib/Qpsmtpd.pm +++ b/lib/Qpsmtpd.pm @@ -77,7 +77,7 @@ sub get_qmail_config { return \%h; } - open CF, "<$configfile" or warn "$$ could not open configfile $configfile: $!", return; + open CF, "<$configfile" or warn "$$ could not open configfile $configfile: $!" and return; my @config = ; chomp @config; @config = grep { $_ and $_ !~ m/^\s*#/ and $_ =~ m/\S/} @config;