• systemd misses services

    From Haines Brown@21:1/5 to All on Fri Apr 25 15:50:01 2025
    I did a new install of debian and find that exim and spamassassin are not recognized
    services. That is, in /etc/systemd/system/ exim and spanassassin are not listed.

    So when I do

    # systemctl start exim.service
    RROR:systemctl:Unit exim.service could not be found.

    This no help:

    # systemctl enable exim.service
    ERROR:systemctl:Unit exim.service could not be found.

    # systemctl start exim
    ERROR:systemctl:Unit exim.service could not be found.

    Why are exim and spamassassin automatically present as services?

    --

    Haines Brown

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Virgo_P=C3=A4rna?=@21:1/5 to Haines Brown on Fri Apr 25 16:10:01 2025
    On 25.04.2025 16:24, Haines Brown wrote:
    I did a new install of debian and find that exim and spamassassin are not recognized
    services. That is, in /etc/systemd/system/ exim and spanassassin are not listed.

    So when I do

    # systemctl start exim.service
    RROR:systemctl:Unit exim.service could not be found.


    systemctl start exim4.service
    systemctl start spamd.service


    --
    Virgo Pärna
    virgo@gaiasoft.ee

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Wanderer@21:1/5 to Haines Brown on Fri Apr 25 16:20:02 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
    On 2025-04-25 at 09:24, Haines Brown wrote:

    I did a new install of debian and find that exim and spamassassin
    are not recognized services. That is, in /etc/systemd/system/ exim
    and spanassassin are not listed.

    Did you install the packages for them? I'm not sure about exim, but I'm
    fairly confident that spamassassin will not be included in most new
    installs of Debian, unless specifically requested (either for itself or
    as part of a task/"workload" to be selected during the install process).

    So when I do

    # systemctl start exim.service
    RROR:systemctl:Unit exim.service could not be found.

    Why are exim and spamassassin automatically present as services?

    I don't run systemd myself, but based on what I see in the output of
    'apt-file search' with appropriate parameters, you might try with
    exim4.service instead. That's provide by both the exim4-daemon-light and exim4-daemon-heavy packages.

    There's also exim4-base.service, provided by the exim4-base package.

    For spamassassin, I find reference to spamassassin-maintenance.service, provided by the spamassassin package.

    --
    The Wanderer

    The reasonable man adapts himself to the world; the unreasonable one
    persists in trying to adapt the world to himself. Therefore all
    progress depends on the unreasonable man. -- George Bernard Shaw


    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmgLld8ACgkQBKk1jTQo MmuqLA//Xw+UeFpJJsneOVhyvZ/VfDpxenEZEpWFoJJ8ZVBMc7VR+m24KAImm2fu YBEYig5roTsug0wM/h9cKmrHR791y9ErLr8OKU/LIq2azYS0E2z/u8A4eYk1UNjB bcM4yDb5oVbCpvXFPAI98JV9NfnNRgqL2NSeEr2QfMQBE7+B1ny7aazJap4ft5ql jhcSK/0mRj7iXH2iXYp1Ohm/obwJ4/0/X3HbTUm03wBraWngIi/mhS6K5Oc4oXZw CD20H8aocO+HbE0o/QiKbe2uvYkJay6zNdIk7XmMmrlIoOuK2vJn14WNHpO/WFrm 79Ga+HpFWriCfNdhGI0/HJrJ9QSkb8lKa/FwiBHNrHrxU+e3V35cJdAfPow24y0R c2CihygYhRQSwkgnOUS+dgWTVgG/dXdhqA6HkdY2MRn6qk6ju3LBJDYITryn4Q1A kST4oFHboFa60yg4QKL+p98a0tHmxhPzb279AvmgrCzjte2oOKVrkmeSHBeaS2St DS080tUncdoS5vdrx83x6CW0eRqTKBYDThd/hrtwD/E06cdtnFMWRSKyRndMh+h/ Qv4LN5ZZVqQOZpDjAUPeJCtVXXNd8DLo5DYU56tLGz+uU51q52svJnEkmxOdgKHM bbl18AHwSHxrsNMWa9pMH1N/H3et
  • From David Wright@21:1/5 to Haines Brown on Fri Apr 25 17:10:01 2025
    On Fri 25 Apr 2025 at 09:24:14 (-0400), Haines Brown wrote:
    I did a new install of debian and find that exim and spamassassin are not recognized
    services. That is, in /etc/systemd/system/ exim and spanassassin are not listed.

    So when I do

    # systemctl start exim.service
    RROR:systemctl:Unit exim.service could not be found.

    This no help:

    # systemctl enable exim.service
    ERROR:systemctl:Unit exim.service could not be found.

    # systemctl start exim
    ERROR:systemctl:Unit exim.service could not be found.

    Why are exim and spamassassin automatically present as services?

    You could try installing bash-completion. Subsequently:

    $ systemctl status exi ← TAB pressed twice
    exim4-base.service exim4-base.timer exim4.service exit.target
    $ systemctl status exi

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)