• spamassassin problems after upgrade from 11 to 12

    From Cecil Westerhof@Cecil@decebal.nl to alt.os.linux.debian on Mon Aug 28 11:03:53 2023
    From Newsgroup: alt.os.linux.debian

    I did the upgrade from debian 11 to 12. It seems that memory usage is
    lower. (While I heard that most people have the opposite experience.)

    I got several problems, but the most important at the moment is with spamassassin.
    I have been using it for years without problems.
    It worked before I upgraded to 12.

    Spamassassin did not work after migrating to 12.
    At for example:
    https://unixcop.com/how-to-install-spamassassin-on-ubuntu-debian/

    I see that you need:
    systemctl start spamassassin.service

    That did not work.
    Did a reinstal, no effect.
    Did remove and install.
    Remove only removed spamassassin, but install installed beside
    spamassassin also re2c and sa-compile.

    Still:
    systemctl start spamassassin.service

    keeps giving not found.

    Typing:
    systemctl status spam

    and giving a tab gives:
    spamassassin-maintenance.service spamassassin.service
    spamassassin-maintenance.timer spamd.service

    I do not find a spamassassin.service file on my system. The other
    three I do find.

    So systemctl thinks there is a spamassassin.service file, but when
    starting it does not find it.

    When using:
    find / -name spamassassin.service

    it does not find spamassassin.service.
    So why does systemctl think there is a spamassassin.service?
    And how do I make it forget it?

    It looks like spamd.service is the replacement for
    spamassassin.service. Is that correct?
    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Cecil Westerhof@Cecil@decebal.nl to alt.os.linux.debian on Mon Aug 28 12:48:51 2023
    From Newsgroup: alt.os.linux.debian

    Cecil Westerhof <Cecil@decebal.nl> writes:

    I did the upgrade from debian 11 to 12. It seems that memory usage is
    lower. (While I heard that most people have the opposite experience.)

    I got several problems, but the most important at the moment is with spamassassin.
    I have been using it for years without problems.
    It worked before I upgraded to 12.

    Spamassassin did not work after migrating to 12.
    At for example:
    https://unixcop.com/how-to-install-spamassassin-on-ubuntu-debian/

    I see that you need:
    systemctl start spamassassin.service

    That did not work.
    Did a reinstal, no effect.
    Did remove and install.
    Remove only removed spamassassin, but install installed beside
    spamassassin also re2c and sa-compile.

    Still:
    systemctl start spamassassin.service

    keeps giving not found.

    Typing:
    systemctl status spam

    and giving a tab gives:
    spamassassin-maintenance.service spamassassin.service
    spamassassin-maintenance.timer spamd.service

    I do not find a spamassassin.service file on my system. The other
    three I do find.

    So systemctl thinks there is a spamassassin.service file, but when
    starting it does not find it.

    When using:
    find / -name spamassassin.service

    it does not find spamassassin.service.
    So why does systemctl think there is a spamassassin.service?
    And how do I make it forget it?

    It looks like spamd.service is the replacement for
    spamassassin.service. Is that correct?

    In 11 spamassassin.service was used, because I see in my journal:
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: Stopping spamassassin.service...
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: spamassassin.service: Deactivated successfully.
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: Stopped spamassassin.service.
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: spamassassin.service: Consumed 4.817s CPU time.
    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Cecil Westerhof@Cecil@decebal.nl to alt.os.linux.debian on Mon Aug 28 15:48:03 2023
    From Newsgroup: alt.os.linux.debian

    Cecil Westerhof <Cecil@decebal.nl> writes:

    Cecil Westerhof <Cecil@decebal.nl> writes:

    I did the upgrade from debian 11 to 12. It seems that memory usage is
    lower. (While I heard that most people have the opposite experience.)

    I got several problems, but the most important at the moment is with
    spamassassin.
    I have been using it for years without problems.
    It worked before I upgraded to 12.

    Spamassassin did not work after migrating to 12.
    At for example:
    https://unixcop.com/how-to-install-spamassassin-on-ubuntu-debian/

    I see that you need:
    systemctl start spamassassin.service

    That did not work.
    Did a reinstal, no effect.
    Did remove and install.
    Remove only removed spamassassin, but install installed beside
    spamassassin also re2c and sa-compile.

    Still:
    systemctl start spamassassin.service

    keeps giving not found.

    Typing:
    systemctl status spam

    and giving a tab gives:
    spamassassin-maintenance.service spamassassin.service
    spamassassin-maintenance.timer spamd.service

    I do not find a spamassassin.service file on my system. The other
    three I do find.

    So systemctl thinks there is a spamassassin.service file, but when
    starting it does not find it.

    When using:
    find / -name spamassassin.service

    it does not find spamassassin.service.
    So why does systemctl think there is a spamassassin.service?
    And how do I make it forget it?

    It looks like spamd.service is the replacement for
    spamassassin.service. Is that correct?

    In 11 spamassassin.service was used, because I see in my journal:
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: Stopping spamassassin.service...
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: spamassassin.service: Deactivated successfully.
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: Stopped spamassassin.service.
    Aug 27 23:16:25 munus.decebal.nl systemd[1]: spamassassin.service: Consumed 4.817s CPU time.

    For one reason or another spamassassin.service is removed from debian
    12. Problem was that there was an old /etc/init.d/exim4. Exim was not
    installed and I do not think I ever used it. By removing
    /etc/init.d/exim4 systemctl did not think anymore that there was a spamassassin.service file.
    --
    Cecil Westerhof
    Senior Software Engineer
    LinkedIn: http://www.linkedin.com/in/cecilwesterhof
    --- Synchronet 3.21d-Linux NewsLink 1.2