On Sat, Dec 28, 2024 at 11:36:44 -0700, Charles Curley wrote: > On Sat, 28 Dec 2024 17:21:08 +0100 (CET) > Roger Price <deb...@rogerprice.org> wrote: > > > but fetchmail goes on fetching mail. What is the correct way of > > stopping fetchmail? > > Perhaps there is a fetchmail.timer unit that is starting up > fetchmail.service from time to time? > > systemctl status fetchmail.timer > > You might also look at /usr/share/doc/fetchmail/README.systemd
Going back to the original post, it looks like the systemd "unit" for fetchmail is actually just a shim for the init.d scripts. That may change in some future version of Debian (or perhaps the OP is on an old version??), but for now, I'd look to more traditional sources. Perhaps there's a cron job that starts it. Assuming "fetchmail" is the package name, it might be worth looking at the file list (dpkg -L fetchmail) to see what's being installed. If there's a *.timer file, or a file inside a cron.* directory, those would be worth investigating.