Error reported by amavis 2.8.0 on shutdown
Mark Martinec via amavis-users
amavis-users at amavis.org
Tue May 6 16:30:37 CEST 2014
Quanah,
>> _WARN: \t(in cleanup) Undefined subroutine
>> &Amavis::LDAP::Connection::do_log_safe called at (eval 101) line 76
>> during global destruction.
>>
>> This seems to come from this portion of the Amavis::LDAP::Connection
>> object:
>>
>> sub DESTROY {
>> my $self = shift; local($@,$!,$_);
>> do_log_safe(5,"Amavis::LDAP::Connection DESTROY called");
>> # ignore failure, make perlcritic happy
>> eval { $self->disconnect_from_ldap } or 1;
>> }
>
> Same error occurs with 2.8.2 RC1. Fixed it with:
> @@ -18721,7 +18721,7 @@
> @ISA = qw(Exporter);
> $have_sasl = eval { require Authen::SASL };
> import Amavis::Conf qw(:platform :confvars c cr ca);
> - import Amavis::Util qw(ll do_log);
> + import Amavis::Util qw(ll do_log do_log_safe);
> import Amavis::Timing qw(section_time);
> }
Great, thank you, will get this fix into the final 2.9.0.
Mark
More information about the amavis-users
mailing list