我正在尝试构建一个基于 Ubuntu 的电子邮件服务器,并且我想在其上运行 SpamAssassin。我已按照说明从存储库安装它,当我尝试启动 SpamAssassin 时,我收到如下错误消息:
Job for spamassassin.service failed because the control process exited with error code.
See "systemctl status spamassassin.service" and "journalctl -xe" for details.
跑步sudo systemctl status spamassassin.service
让我得到以下信息:
Feb 02 01:43:46 grace systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Feb 02 01:43:46 grace systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 5.
Feb 02 01:43:46 grace systemd[1]: Stopped Perl-based spam filter using text analysis.
Feb 02 01:43:46 grace systemd[1]: spamassassin.service: Start request repeated too quickly.
Feb 02 01:43:46 grace systemd[1]: spamassassin.service: Failed with result 'exit-code'.
Feb 02 01:43:46 grace systemd[1]: Failed to start Perl-based spam filter using text analysis.
我试过停止服务并启动它以及简单地重新启动它,但这并没有什么不同。我不知道发生了什么事。
如果您遵循此 Ars Technica 指南,那么您可能
/etc/default/spamassassin
看起来像这样:SAHOME
和的路径扩展SAGLOBALCFGPATH
失败,因此请更改此文件,使其包含完整路径: