chmod 755 /usr/share/spamassassin
Enabling spamassassin in systemd...
Created symlink from /etc/systemd/system/multi-user.target.wants/spamassassin.service to /etc/systemd/system/spamassassin.service.
It's recommended to have sa_update set to daily in the options.conf file to get SpamAssassin rules updated every day.
Running sa-update.
Starting SpamAssassin.
Job for spamassassin.service failed because the control process exited with error code. See "systemctl status spamassassin.service" and "journalctl -xe" for details.
Restarting exim.
[
[email protected] custombuild]# ps ax |grep spamd
10782 pts/1 S+ 0:00 grep --color=auto spamd
[
[email protected] custombuild]# service spamd start
Redirecting to /bin/systemctl start spamd.service
Failed to start spamd.service: Unit spamd.service failed to load: No such file or directory.
[
[email protected] custombuild]# ps ax |grep spamd
11899 pts/1 S+ 0:00 grep --color=auto spamd
[
[email protected] custombuild]# systemctl status spamassassin.service
spamassassin.service - Spamassassin daemon
Loaded: loaded (/etc/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Wed 2016-05-04 12:52:48 CEST; 21min ago
Process: 32686 ExecStart=/usr/bin/spamd --pidfile /var/run/spamd.pid -d -c -m 15 --ipv4 (code=exited, status=2)
May 04 12:52:48 host.abc.nl systemd[1]: Failed to start Spamassassin daemon.
May 04 12:52:48 host.abc.nl systemd[1]: Unit spamassassin.service entered failed state.
May 04 12:52:48 host.abc.nl systemd[1]: spamassassin.service failed.
May 04 12:52:48 host.abc.nl systemd[1]: spamassassin.service holdoff time over, scheduling restart.
May 04 12:52:48 host.abc.nl systemd[1]: start request repeated too quickly for spamassassin.service
May 04 12:52:48 host.abc.nl systemd[1]: Failed to start Spamassassin daemon.
May 04 12:52:48 host.abc.nl systemd[1]: Unit spamassassin.service entered failed state.
May 04 12:52:48 host.abc.nl systemd[1]: spamassassin.service failed.