Bug#1053160: [spf] Unknown instance method size while calling IN OPT
martin f krafft
madduck at debian.org
Thu Sep 28 14:37:03 BST 2023
Package: mtpolicyd
Version: 2.05-1.1
Severity: normal
I just started evaluating mtpolicyd, and this is the first thing I
see in the logs:
```
Sep 28 15:14:46 dovecot mtpolicyd[32030]: error while processing request: plugin spf failed:
*** FATAL PROGRAM ERROR!! Unknown instance method "size"
*** which the program has attempted to call for the object:
***
. IN OPT ; no data
***
*** THIS IS A BUG IN THE CALLING SOFTWARE, which incorrectly assumes
*** that the object would be of a particular type. The type of an
*** object should be checked before calling any of its methods.
***
Net::DNS::RR 1891
Attempt to reload Net/DNS/RR/OPT.pm aborted.
Compilation failed in require at (eval 639) line 1.
at /usr/share/perl5/Net/DNS/Resolver/Base.pm line 978.
Net::DNS::Resolver::Base::_make_query_packet(Net::DNS::Resolver=HASH(0x559247d286b0), "mout.kundenserver.de", "TXT") called at /usr/share/perl5/Net/DNS/Resolver/Base.pm line 414
Net::DNS::Resolver::Base::send(Net::DNS::Resolver=HASH(0x559247d286b0), "mout.kundenserver.de", "TXT") called at /usr/share/perl5/Mail/SPF/Server.pm line 566
Mail::SPF::Server::dns_lookup(Mail::SPF::Server=HASH(0x559247d1a3b8), "mout.kundenserver.de", "TXT") called at /usr/share/perl5/Mail/SPF/Server.pm line 463
Mail::SPF::Server::__ANON__() called at /usr/share/perl5/Error.pm line 465
eval {...} called at /usr/share/perl5/Error.pm line 454
Error::subs::try(CODE(0x559247d2daa8), HASH(0x559247d2dc10)) called at /usr/share/perl5/Mail/SPF/Server.pm line 472
Mail::SPF::Server::select_record(Mail::SPF::Server=HASH(0x559247d1a3b8), Mail::SPF::Request=HASH(0x559247122150)) called at /usr/share/perl5/Mail/SPF/Server.pm line 324
Mail::SPF::Server::__ANON__() called at /usr/share/perl5/Error.pm line 465
eval {...} called at /usr/share/perl5/Error.pm line 454
Error::subs::try(CODE(0x559246f9c520), HASH(0x559247d292e0)) called at /usr/share/perl5/Mail/SPF/Server.pm line 345
Mail::SPF::Server::process(Mail::SPF::Server=HASH(0x559247d1a3b8), Mail::SPF::Request=HASH(0x559247122150)) called at /usr/share/perl5/Mail/MtPolicyd/Plugin/SPF.pm line 135
Mail::MtPolicyd::Plugin::SPF::_check_helo(Mail::MtPolicyd::Plugin::SPF=HASH(0x559246fd9698), Mail::MtPolicyd::Request=HASH(0x559246f9d120)) called at /usr/share/perl5/Mail/MtPolicyd/Plugin/SPF.pm line 106
Mail::MtPolicyd::Plugin::SPF::run(Mail::MtPolicyd::Plugin::SPF=HASH(0x559246fd9698), Mail::MtPolicyd::Request=HASH(0x559246f9d120)) called at /usr/share/perl5/Mail/MtPolicyd/PluginChain.pm line 36
eval {...} called at /usr/share/perl5/Mail/MtPolicyd/PluginChain.pm line 36
Mail::MtPolicyd::PluginChain::run(Mail::MtPolicyd::PluginChain=HASH(0x55924666c7c8), Mail::MtPolicyd::Request=HASH(0x559246f9d120)) called at inline delegation in Mail::MtPolicyd::VirtualHost for chain->run (attribute declared in /usr/share/perl5/Mail/MtPolicyd/VirtualHost.pm at line 14) line 18
Mail::MtPolicyd::VirtualHost::run(Mail::MtPolicyd::VirtualHost=HASH(0x559246756468), Mail::MtPolicyd::Request=HASH(0x559246f9d120)) called at /usr/share/perl5/Mail/MtPolicyd.pm line 354
eval {...} called at /usr/share/perl5/Mail/MtPolicyd.pm line 339
Mail::MtPolicyd::_process_one_request(Mail::MtPolicyd=HASH(0x559244913498), Net::Server::Proto::TCP=GLOB(0x559246dd7dd0), Mail::MtPolicyd::VirtualHost=HASH(0x559246756468), Mail::MtPolicyd::Request=HASH(0x559246f9d120)) called at /usr/share/perl5/Mail/MtPolicyd.pm line 411
eval {...} called at /usr/share/perl5/Mail/MtPolicyd.pm line 410
Mail::MtPolicyd::process_request(Mail::MtPolicyd=HASH(0x559244913498), Net::Server::Proto::TCP=GLOB(0x559246dd7dd0)) called at /usr/share/perl5/Net/Server.pm line 72
Net::Server::run_client_connection(Mail::MtPolicyd=HASH(0x559244913498)) called at /usr/share/perl5/Net/Server/PreFork.pm line 226
eval {...} called at /usr/share/perl5/Net/Server/PreFork.pm line 226
Net::Server::PreFork::run_child(Mail::MtPolicyd=HASH(0x559244913498)) called at /usr/share/perl5/Net/Server/PreFork.pm line 184
Net::Server::PreFork::run_n_children(Mail::MtPolicyd=HASH(0x559244913498), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 381
Net::Server::PreFork::coordinate_children(Mail::MtPolicyd=HASH(0x559244913498)) called at /usr/share/perl5/Net/Server/PreFork.pm line 328
Net::Server::PreFork::run_parent(Mail::MtPolicyd=HASH(0x559244913498)) called at /usr/share/perl5/Net/Server/PreFork.pm line 109
Net::Server::PreFork::loop(Mail::MtPolicyd=HASH(0x559244913498)) called at /usr/share/perl5/Net/Server.pm line 58
Net::Server::run("Mail::MtPolicyd") called at /usr/bin/mtpolicyd line 12.
```
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mtpolicyd depends on:
ii adduser 3.137
ii init-system-helpers 1.65.2
pn libcache-memcached-perl <none>
ii libconfig-general-perl 2.65-2
pn libdbd-sqlite3-perl <none>
pn libdbi-perl <none>
pn libgeo-ip-perl <none>
ii libjson-perl 4.10000-1
pn libmail-rbl-perl <none>
pn libmail-spf-perl <none>
ii libmoose-perl 2.2206-1
ii libmoosex-getopt-perl 0.75-3
ii libmoosex-role-parameterized-perl 1.11-2
pn libmoosex-singleton-perl <none>
ii libnamespace-autoclean-perl 0.29-2
pn libnet-server-perl <none>
ii libtie-ixhash-perl 1.23-4
ii lsb-base 11.6
ii perl 5.36.0-7
ii sysvinit-utils [lsb-base] 3.07-1
Versions of packages mtpolicyd recommends:
pn libnet-ldap-perl <none>
pn libtime-piece-mysql-perl <none>
mtpolicyd suggests no packages.
--
.''`. martin f. krafft <madduck at d.o>
: :' : proud Debian developer
`. `'` http://people.debian.org/~madduck
`- Debian - when you have better things to do than fixing systems
More information about the pkg-mtpolicyd-maintainers
mailing list