Package: fetchmail
Version: 6.4.33-1
Severity: normal

Dear Maintainer,

I'm getting the following messages in the syslog:

Sep 15 01:03:21 systemd[1]: Starting LSB: init-Script for system wide fetchmail 
daemon...
Sep 15 01:03:21 fetchmail[2245]: Starting mail retriever agent: fetchmail.
Sep 15 01:03:21 systemd[1]: Started LSB: init-Script for system wide fetchmail 
daemon.
Sep 15 01:03:21 fetchmail[2263]: starting fetchmail 6.4.33 daemon
Sep 15 01:03:25 fetchmail[2310]: fetchmail: WARNING: Running as root is 
discouraged.
Sep 15 01:03:25 fetchmail[2310]: fetchmail: no mailservers have been specified.
Sep 15 01:03:25 systemd[2293]: fetchmail.service: Main process exited, 
code=exited, status=5/NOTINSTALLED
Sep 15 01:03:25 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.
Sep 15 01:03:25 systemd[2293]: fetchmail.service: Scheduled restart job, 
restart counter is at 1.
Sep 15 01:03:25 fetchmail[2338]: fetchmail: WARNING: Running as root is 
discouraged.
Sep 15 01:03:25 fetchmail[2338]: fetchmail: no mailservers have been specified.
Sep 15 01:03:25 systemd[2293]: fetchmail.service: Main process exited, 
code=exited, status=5/NOTINSTALLED
Sep 15 01:03:25 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Scheduled restart job, 
restart counter is at 2.
Sep 15 01:03:26 fetchmail[2342]: fetchmail: WARNING: Running as root is 
discouraged.
Sep 15 01:03:26 fetchmail[2342]: fetchmail: no mailservers have been specified.
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Main process exited, 
code=exited, status=5/NOTINSTALLED
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Scheduled restart job, 
restart counter is at 3.
Sep 15 01:03:26 fetchmail[2343]: fetchmail: WARNING: Running as root is 
discouraged.
Sep 15 01:03:26 fetchmail[2343]: fetchmail: no mailservers have been specified.
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Main process exited, 
code=exited, status=5/NOTINSTALLED
Sep 15 01:03:26 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Scheduled restart job, 
restart counter is at 4.
Sep 15 01:03:27 fetchmail[2344]: fetchmail: WARNING: Running as root is 
discouraged.
Sep 15 01:03:27 fetchmail[2344]: fetchmail: no mailservers have been specified.
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Main process exited, 
code=exited, status=5/NOTINSTALLED
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Scheduled restart job, 
restart counter is at 5.
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Start request repeated too 
quickly.
Sep 15 01:03:27 systemd[2293]: fetchmail.service: Failed with result 
'exit-code'.

It seems that this started a few days ago, after upgrading fetchmail from 
version 6.4.32-1 to 6.4.33-1.

However, the fetchmail daemon is running as user fetchmail and not as root:

$ ps aux | grep fetchmail
fetchma+    3239  0.0  0.0  13712  7340 ?        Ss   01:25   0:00 
/usr/bin/fetchmail -f /etc/fetchmailrc --pidfile 
/var/run/fetchmail/fetchmail.pid --syslog

And the file /etc/fetchmailrc exists and is readable by user fetchmail:

$ dir /etc/fetchmailrc
-rw------- 1 fetchmail root 2.3K Oct 17  2021 /etc/fetchmailrc

Hence, I don't understand why I all of a sudden get these warnings "Running as 
root is discouraged." and "no mailservers have been specified."



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'stable'), 
(400, 'unstable')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fetchmail depends on:
ii  adduser              3.129
ii  debianutils          5.7-0.3
ii  init-system-helpers  1.64
ii  libc6                2.34-7
ii  libcom-err2          1.46.5-2
ii  libgssapi-krb5-2     1.20-1
ii  libkrb5-3            1.20-1
ii  libssl3              3.0.5-2
ii  lsb-base             11.2

Versions of packages fetchmail recommends:
ii  ca-certificates  20211016

Versions of packages fetchmail suggests:
ii  exim4-daemon-heavy [mail-transport-agent]  4.96-3
pn  fetchmailconf                              <none>
pn  resolvconf                                 <none>

-- Configuration Files:
/etc/default/fetchmail changed [not included]

-- no debconf information

Reply via email to