On 2022-09-28 at 16:54:16 UTC-0400 (Wed, 28 Sep 2022 22:54:16 +0200)
Maurizio Caloro <mau...@gmx.ch>
is rumored to have said:
Hello
It seems that i have little problem with DNS and Spamassasssin, i
found any topics
but i didnt found the right solutions, and the error persist.
please check me settings, here and thanks for any possible update
regards
--
Debian - buster 10.13
dpkg -l | grep spamassassin
ii spamassassin 3.4.2-1+deb10u3
Current version is 3.4.6. There have been very many bugs fixed between
3.4.2 and 3.4.6.
Also relevant: version of Net::DNS module in your Perl installation.
There were complex bug interactions between SA v3.4.[012] and Net::DNS
<v1.07.
root@nmail:/# cat
/etc/systemd/system/multi-user.target.wants/spamassassin.service
[Unit]
Description=Perl-based spam filter using text analysis
After=syslog.target network-online.target
[Service]
Type=forking
PIDFile=/run/spamd.pid
EnvironmentFile=-/etc/default/spamassassin
[Unit]
Description=Spamassassin daemon
After=syslog.target network-online.target
cat spamd.log
Wed Sep 28 22:00:39 2022 [12607] info: spamd: connection from
127.0.0.1 [127.0.0.1]:47024 to port 783, fd 6
Wed Sep 28 22:00:39 2022 [12607] info: spamd: setuid to debian-spamd
succeeded
Wed Sep 28 22:00:39 2022 [12607] info: spamd: checking message
<d4f669a1-7ec2-49b9-9612-8800de1c2...@domain.ch> for debian-spamd:116
Wed Sep 28 21:46:55 2022 [9418] info: dns: bad dns reply: bgread:
recv() failed: Connection refused at
/usr/local/share/perl/5.28.1/Mail/SpamAssassin/DnsResolver.pm line
742, <GEN921> line 189.
Wed Sep 28 21:46:55 2022 [9418] info: dns: bad dns reply: bgread:
recv() failed: Connection refused at
/usr/local/share/perl/5.28.1/Mail/SpamAssassin/DnsResolver.pm line
742.
That looks like BIND or a packet filter refusing the query packet or
possibly a case of failed fallback to TCP when a reply was too big for
UDP.
Are you certain that BIND is configured to do recursion for 127.0.0.1
and doesn't have anything blocking port 53 for both UDP and TCP?
root@nmail:/var/log# cat /etc/resolv.conf
nameserver 127.0.0.1
bind9 running
Sep 28 21:45:49 nmail named[12447]: zone 127.in-addr.arpa/IN: loaded
serial 1
Sep 28 21:45:49 nmail named[12447]: zone 255.in-addr.arpa/IN: loaded
serial 1
Sep 28 21:45:49 nmail named[12447]: zone domain.nmail/IN:
sig-re-signing-interval less than 3 * refresh.
Sep 28 21:45:49 nmail named[12447]: zone domain.nmail/IN: loaded
serial 1 (DNSSEC signed)
Sep 28 21:45:49 nmail named[12447]: zone 190.120.37.in-addr.arpa/IN:
loaded serial 1
Sep 28 21:45:49 nmail named[12447]: zone localhost/IN: loaded serial 2
Sep 28 21:45:49 nmail named[12447]: all zones loaded
Sep 28 21:45:49 nmail named[12447]: running
Sep 28 21:45:49 nmail named[12447]: zone domain.nmail/IN:
reconfiguring zone keys
Sep 28 21:45:49 nmail named[12447]: zone domain.nmail/IN: next key
event: 28-Sep-2022 22:45:49.345
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire