On 2/10/19 3:56 AM, Giovanni Bechis wrote: > On Sun, Feb 10, 2019 at 02:30:28AM -0500, 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. > what is the content of the "v320.pre" file ? > It seems you have disabled too many plugins.
I don't think so. v320.pre loads the Check plugin first thing. Here's the file: # /etc/mail/spamassassin directory; previously only one, "init.pre" was # read. Now both "init.pre", "v310.pre", and any other files ending in # ".pre" will be read. As future releases are made, new plugins will be # added to new files, named according to the release they're added in. ########################################################################### # Check - Provides main check functionality # loadplugin Mail::SpamAssassin::Plugin::Check # HTTPSMismatch - find URI mismatches between href and anchor text # loadplugin Mail::SpamAssassin::Plugin::HTTPSMismatch # URIDetail - test URIs using detailed URI information # loadplugin Mail::SpamAssassin::Plugin::URIDetail # Shortcircuit - stop evaluation early if high-accuracy rules fire # # loadplugin Mail::SpamAssassin::Plugin::Shortcircuit # Plugins which used to be EvalTests.pm # broken out into separate plugins loadplugin Mail::SpamAssassin::Plugin::Bayes loadplugin Mail::SpamAssassin::Plugin::BodyEval loadplugin Mail::SpamAssassin::Plugin::DNSEval loadplugin Mail::SpamAssassin::Plugin::HTMLEval loadplugin Mail::SpamAssassin::Plugin::HeaderEval loadplugin Mail::SpamAssassin::Plugin::MIMEEval loadplugin Mail::SpamAssassin::Plugin::RelayEval loadplugin Mail::SpamAssassin::Plugin::URIEval loadplugin Mail::SpamAssassin::Plugin::WLBLEval # VBounce - anti-bounce-message rules, see rules/20_vbounce.cf # loadplugin Mail::SpamAssassin::Plugin::VBounce # Rule2XSBody - speedup by compilation of ruleset to native code # # loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody # ASN - Look up the Autonomous System Number of the connecting IP # and create a header containing ASN data for bayes tokenization. # See plugin's POD docs for usage info. # # loadplugin Mail::SpamAssassin::Plugin::ASN # ImageInfo - rules to match metadata of image attachments # loadplugin Mail::SpamAssassin::Plugin::ImageInfo I hope this helps! Ken