Is anyone successfully running SpamAssassin on Ubuntu Server 18.10?












0















I'm trying to build an email server based on Ubuntu, and I want to run SpamAssassin on it. I've followed the instructions, installed it from the repositories, and when I try to start SpamAssassin I get an error message like the following:



Job for spamassassin.service failed because the control process exited with error code.

See "systemctl status spamassassin.service" and "journalctl -xe" for details.


Running sudo systemctl status spamassassin.service gets me the following:



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.


I've tried stopping the service and starting it as well as simply restarting it, but it doesn't make a difference. I can't figure out what's going on.










share|improve this question

























  • Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

    – fkraiem
    Feb 2 at 7:34











  • Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

    – Ken Wright
    Feb 4 at 1:55


















0















I'm trying to build an email server based on Ubuntu, and I want to run SpamAssassin on it. I've followed the instructions, installed it from the repositories, and when I try to start SpamAssassin I get an error message like the following:



Job for spamassassin.service failed because the control process exited with error code.

See "systemctl status spamassassin.service" and "journalctl -xe" for details.


Running sudo systemctl status spamassassin.service gets me the following:



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.


I've tried stopping the service and starting it as well as simply restarting it, but it doesn't make a difference. I can't figure out what's going on.










share|improve this question

























  • Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

    – fkraiem
    Feb 2 at 7:34











  • Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

    – Ken Wright
    Feb 4 at 1:55
















0












0








0








I'm trying to build an email server based on Ubuntu, and I want to run SpamAssassin on it. I've followed the instructions, installed it from the repositories, and when I try to start SpamAssassin I get an error message like the following:



Job for spamassassin.service failed because the control process exited with error code.

See "systemctl status spamassassin.service" and "journalctl -xe" for details.


Running sudo systemctl status spamassassin.service gets me the following:



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.


I've tried stopping the service and starting it as well as simply restarting it, but it doesn't make a difference. I can't figure out what's going on.










share|improve this question
















I'm trying to build an email server based on Ubuntu, and I want to run SpamAssassin on it. I've followed the instructions, installed it from the repositories, and when I try to start SpamAssassin I get an error message like the following:



Job for spamassassin.service failed because the control process exited with error code.

See "systemctl status spamassassin.service" and "journalctl -xe" for details.


Running sudo systemctl status spamassassin.service gets me the following:



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.


I've tried stopping the service and starting it as well as simply restarting it, but it doesn't make a difference. I can't figure out what's going on.







server spamassassin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 7:27









thephoenix01

448617




448617










asked Feb 2 at 6:47









Ken WrightKen Wright

215




215













  • Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

    – fkraiem
    Feb 2 at 7:34











  • Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

    – Ken Wright
    Feb 4 at 1:55





















  • Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

    – fkraiem
    Feb 2 at 7:34











  • Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

    – Ken Wright
    Feb 4 at 1:55



















Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

– fkraiem
Feb 2 at 7:34





Not anough info. Please add the output of grep spamd /var/log/mail.log (consider adding yourself to the adm group so you can read logs without sudo).

– fkraiem
Feb 2 at 7:34













Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

– Ken Wright
Feb 4 at 1:55







Okay, here's a sample of mail.log: Feb 3 08:03:32 grace spamd[10234]: logger: removing stderr method Feb 3 08:03:32 grace spamd[10236]: config: no rules were found! Do you need to run 'sa-update'? Feb 3 08:03:33 grace spamd[10234]: child process [10236] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034. So I ran sa-update (I was too impatient to let it finish before -- my bad) but it exits with code 4, meaning it can't find the rules. I've tried a couple of other channels, but no joy.

– Ken Wright
Feb 4 at 1:55












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114918%2fis-anyone-successfully-running-spamassassin-on-ubuntu-server-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114918%2fis-anyone-successfully-running-spamassassin-on-ubuntu-server-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?