Cron <root@falcon21> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log
The amavisd daemon is apparently not running, no PID file /var/run/amavisd/amavisd.pid
確認
[root@falcon21 ~]# ll /var/run/amavisd/
合計 4
-rw-rw-r-- 1 amavis amavis 5 6月 13 23:42 2017 clamd.pid
---amavisd.pid ではなく、clamd.pid になっている。---
[root@falcon21 ~]# vi spamassassin-update
[root@falcon21 ~]# vi /etc/cron.daily/spamassassin-update
[root@falcon21 ~]# vi /etc/cron.d/sa-update
[root@falcon21 ~]# /etc/rc.d/init.d/clamd stop
Stopping Clam AntiVirus Daemon: [失敗]
[root@falcon21 ~]# /etc/rc.d/init.d/clamd start
Starting Clam AntiVirus Daemon: [ OK ]
[root@falcon21 ~]# /etc/rc.d/init.d/clamd stop
Stopping Clam AntiVirus Daemon: [ OK ]
[root@falcon21 ~]# /etc/rc.d/init.d/clamd.amavisd restart
clamd.amavisd を停止中: [ OK ]
clamd.amavisd を起動中: [ OK ]
[root@falcon21 ~]# chkconfig --list clamd
clamd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@falcon21 ~]# chkconfig --list clamd.amavisd
clamd.amavisd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@falcon21 ~]# vi /etc/amavisd/amavisd.conf
52 @mynetworks = qw( 127.0.0.0/24 [::1] [FE80::]/10 [FEC0::]/10
53 192.168.2/24 192.168.0.0/24 );
// ネットワークアドレスが192.168.1/24となっていたのを修正。
---------------------
問題解決せず、ネットでググって見たが、postfix 以外を再インストールしたほうがよさそう。
----------------------------