[opensuse] Errors or bugs in spamd.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This afternoon I was fetching something like 3000 mails with fetchmail,
and got hundreds or thousands of errors in the logs. Mails were
processed correctly, though.
In short:
connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
spamd: connection from localhost [::1]:40456 to port 783, fd 5
spamd 31546 - - error creating a DNS resolver socket: Address family for hostname not supported at /usr/lib/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/DnsResolver.pm line 434, <GEN13115> ...
spamd 31546 - - dns: unable to connect to [192.168.1.14]:53, no more alternatives
spamd 31546 - - error creating a DNS resolver socket: Address family for hostname not supported at /usr/lib/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/DnsResolver.pm line 434.
The configuration has not changed since last run, but there has been
updates. I don't know if it is config error or bug.
Setup is:
Fetchmail --> postfix --> amavis --> procmail --> spamc --> dovecot mbox folders
Detailed log of one instance, there are thousands, I think:
<22>1 2017-05-04T16:19:46.638180+02:00 Telcontar spamd 2046 - - prefork: child states: BBB
<22>1 2017-05-04T16:19:46.638463+02:00 Telcontar spamd 2046 - - spamd: server successfully spawned child process, pid 31534
<22>1 2017-05-04T16:19:46.638600+02:00 Telcontar spamd 2046 - - prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 31534 started.
<22>1 2017-05-04T16:19:46.641172+02:00 Telcontar spamd 2046 - - prefork: child states: BBBI
<22>1 2017-05-04T16:19:46.654198+02:00 Telcontar spamd 2046 - - spamd: handled cleanup of child pid [31510] due to SIGCHLD: exit 0
<22>1 2017-05-04T16:19:46.670003+02:00 Telcontar amavis 31444 - - (31444-04) Checking: d2Pbzbs3wDKf MYNETS [127.0.0.1]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2017-05-05 at 00:39 +0200, Carlos E. R. wrote:
This afternoon I was fetching something like 3000 mails with fetchmail, and got hundreds or thousands of errors in the logs. Mails were processed correctly, though.
In short:
<19>1 2017-05-04T16:19:46.895210+02:00 Telcontar spamc 31544 - - connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused <22>1 2017-05-04T16:19:46.896935+02:00 Telcontar spamd 31534 - - spamd: connection from localhost [::1]:40456 to port 783, fd 5 The connection on IPv4 seems to be refused, then on IPv4 accepted. Found it on Google: http://www.linuxquestions.org/questions/linux-server-73/spamassassin-trouble... I added this file: Telcontar:~ # cat /etc/mail/spamassassin/spamc.conf - -d 127.0.0.1 Telcontar:~ # After restarting spamd I notice in the log this entry: <2.6> 2017-05-05 12:22:39 Telcontar spamd 8722 - - spamd: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.1) So I go back in the log to the previous instance, and see this instead: <2.6> 2017-05-03 13:50:39 Telcontar spamd 2046 - - spamd: server started on IO::Socket::IP [::1]:783 (running version 3.4.1) It was not listening to IPv4! Some update caused this change. It has also cleared the other error: <20>1 2017-05-04T16:19:46.945681+02:00 Telcontar spamd 31534 - - error creating a DNS resolver socket: Address family for hostname not supported at /usr/lib/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/DnsResolver.pm line434, <GEN13112> line 1044. <20>1 2017-05-04T16:19:46.945940+02:00 Telcontar spamd 31534 - - dns: unable to connect to [192.168.1.14]:53, no more alternatives - -- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlkMVYcACgkQtTMYHG2NR9XltQCfaPUm6Sb6hiMM83KSAIK0O1ap Fb8An3T1+TMM/PC7lwZF0iZEhXJFraf3 =aI+q -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Carlos E. R.