I'd suggest running spamassassin directly from the command line with
the -D and --lint options to see if that provides more detail about
what exactly is going wrong.  This is going to give you a lot of
output so you'll probably want to run it like:

spamassassin -D --lint 2>&1 | less


On Sun, 10 Feb 2019, Ken Wright wrote:

I've been trying to set up an email server and I want to use
Spamassassin to prevent it from becoming Spam Central.  I've installed
SA and spamass-milter, but when I try to restart it after customizing
the config files, I get this:

Job for spamassassin.service failed because the control process exited
with error code.
See "systemctl status spamassassin.service" and "journalctl -xe" for
details.

So I checked journalctl and got this:

-- Unit spamassassin.service has begun starting up.
Feb 08 02:19:31 grace spamd[6289]: logger: removing stderr method
Feb 08 02:19:32 grace spamd[6314]: Timeout::_run: check: no loaded
plugin implements 'check_main': cannot scan!
Feb 08 02:19:32 grace spamd[6314]: Check that the necessary '.pre' files
are in the config directory.
Feb 08 02:19:32 grace spamd[6314]: At a minimum, v320.pre loads the
Check plugin which is required.
Feb 08 02:19:32 grace spamd[6289]: child process [6314] exited or timed
out without signaling production of a PID file: exit 255 at
/usr/sbin/spamd line 3034.
Feb 08 02:19:32 grace systemd[1]: spamassassin.service: Control process
exited, code=exited status=255
Feb 08 02:19:32 grace systemd[1]: spamassassin.service: Failed with
result 'exit-code'.
Feb 08 02:19:32 grace systemd[1]: Failed to start Perl-based spam filter
using text analysis.
-- Subject: Unit spamassassin.service has failed

At a friend's suggestion I also checked the mail.log and got this:

Feb  8 02:19:25 grace spamd[6144]: logger: removing stderr method
Feb  8 02:19:26 grace spamd[6172]: Timeout::_run: check: no loaded
plugin implements 'check_main': cannot scan!
Feb  8 02:19:26 grace spamd[6172]: Check that the necessary '.pre' files
are in the config directory.
Feb  8 02:19:26 grace spamd[6172]: At a minimum, v320.pre loads the
Check plugin which is required.
Feb  8 02:19:26 grace spamd[6144]: child process [6172] exited or timed
out without signaling production of a PID file: exit 255 at
/usr/sbin/spamd line 3034.

Yes, v320.pre loads the Mail::SpamAssassin::Plugin::Check module, which
is installed and up to date.  I've just about run out of ideas.  Anyone
have any?

Sorry this is so long, but I didn't want to omit any pertinent information.

Ken Wright,
pulling his hair out.


--
Public key #7BBC68D9 at            |                 Shane Williams
http://pgp.mit.edu/                |      System Admin - UT CompSci
=----------------------------------+-------------------------------
All syllogisms contain three lines |              sha...@shanew.net
Therefore this is not a syllogism  | www.ischool.utexas.edu/~shanew

Reply via email to