What do you exactly mean by "removing the option in the startup unit"?
I'm not running spamd via a socket.
I commented out "PIDFILE="/var/run/spamd.pid" in default/spamassassin.
Test still results in timeout.
t/sa_check_spamd.t ................ spam_pid not found: Sleeping 5 -
Retry # 19
On 16-08-2023 15:22, Reindl Harald (privat) wrote:
Am 16.08.23 um 15:14 schrieb Hansa via users:
Unfortunately this is not the solution.
/run/spamd.pid exists and contains the same pid as /var/run/spamd.pid.
/var/run is a symlink to /run for ages
just remove the option in the startup unit and case closed
sa-milt 866 0.0 2.2 121356 113568 ? SNs Jul27 0:54
/usr/bin/perl -T -w /usr/bin/spamd --max-children=5 --round-robin
--max-conn-per-child=25
--socketpath=/run/spamassassin/spamassassin.sock --socketmode=0666
It is created when starting the spamd service.
On 16-08-2023 14:34, bOnK wrote:
# ps ax | grep `cat */var/run/spamd.pid *
73673 ? Ss 0:04 /usr/bin/perl -T -w /usr/sbin/spamd -d
--pidfile=*/run/spamd.pid* --create-prefs --max-children 5
--helper-home-dir --syslog-socket=native