On 22 Oct 2018, at 11:08, Cecil Westerhof wrote:
"Bill Cole" <sausers-20150...@billmail.scconsult.com> writes:
On 21 Oct 2018, at 21:14, Cecil Westerhof wrote:
When executing spamc I do not get output and the exit status is 74
(EX_IOERR: IO error).
This would be the result of spamc not being able to communicate with
spamd.
Is spamd running?
Yes, spamd is running.
Is spamd listening on the socket that spamc is trying to connect to?
The man pages for spamc and spamd can help you understand how to
determine the answers to these questions.
I should have looked into the logs. :'-(
Always a wise choice.
When I run it again I see in the logging:
Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: connection
from localhost [::1]:58764 to port 783, fd 5
Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: setuid to
imaps succeeded
Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: service
unavailable: TELL commands are not enabled, set the --allow-tell
switch.
Oct 22 16:47:15 munus.decebal.nl spamd[17101]: prefork: child
states: II
It is a bit strange. I had the same problem 1½ year ago. I solved it
by adding --allow-tell switch in the service file. Now it contained:
ExecStart=/usr/sbin/spamd -d --pidfile=/var/run/spamd.pid $OPTIONS
I do not see the OPTIONS defined.
I substituted --allow-tell for $OPTIONS and restarted the service. Now
it works again. But why the service file has been changed …
That would be an issue for whoever packages SA for your system. There is
no systemd service file distributed in the SA release.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole