Spamassassin on Debian 10 fresh hestia install

Hi there,

fresh install of Hestia on Debian 10 box.

spamassassin and clamav had been installed with installer and activated for email. spamassassin service is started but errors in log

2021-02-08 16:56:28 1l98to-0002AG-1M spam acl condition: all spamd servers failed
2021-02-08 17:53:31 1l99n1-0001ID-FO spam acl condition: all spamd servers failed
2021-02-08 18:09:02 1l9A21-00038C-LD spam acl condition: all spamd servers failed
2021-02-08 18:18:13 1l9AAv-0004Iw-L6 spam acl condition: all spamd servers failed
2021-02-08 18:18:13 1l9AAv-0004Ix-Lg spam acl condition: all spamd servers failed
2021-02-08 18:37:49 1l9ATs-0006gc-Vj spam acl condition: all spamd servers failed
2021-02-08 18:37:59 1l9AU3-0006iD-Cu spam acl condition: all spamd servers failed
2021-02-09 06:01:09 1l9L9A-0007UV-7g spam acl condition: all spamd servers failed
2021-02-09 08:29:16 1l9NSV-0004Hj-QU spam acl condition: all spamd servers failed
2021-02-09 08:40:13 1l9Nd7-0006ps-De spam acl condition: all spamd servers failed
2021-02-09 10:33:25 1l9POf-0004b4-1k spam acl condition: all spamd servers failed
2021-02-09 11:06:21 1l9PuX-0001nf-6G spam acl condition: all spamd servers failed
2021-02-09 15:42:18 1l9UDZ-0006yc-JV spam acl condition: all spamd servers failed

Any help on this?

Which services are running?
/usr/local/hestia/bin/v-list-sys-services

ns1:~# /usr/local/hestia/bin/v-list-sys-services
NAME STATE CPU MEM UPTIME


apache2 running 0 704 551
php-fpm running 0.1 16 0
nginx running 0.4 51 1997
bind9 running 0 92 492
exim4 running 0.1 6 0
dovecot running 0 0 2008
clamav-daemon running 0 1183 2008
spamassassin running 0 241 2008
mariadb running 0.2 756 2008
vsftpd running 0 0 2008
cron running 0 5 2008
ssh running 0 15 2008
iptables running 0 0 2008
fail2ban running 0.2 123 2008

found the issue, spamassassin was listening to ipv6 address instead of ipv4

ns1:~# netstat -tulpn | grep 783
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 783/mariadbd
tcp6 0 0 ::1:783 :::* LISTEN 1138/perl

changed OPTIONS in nano /etc/default/spamassassin to

OPTIONS=“–create-prefs --max-children 5 --helper-home-dir --listen-ip=127.0.0.1”

/etc/init.d/spamassassin restart

ns1:~# netstat -tulpn | grep 783
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 783/mariadbd
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 28338/perl

working ok now.

-Dennis

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.