Hallo Helmut,Apologies for the late reply. Yesterday I uploaded prometheus-postfix-exporter 0.17.0-1 to unstable, and I am currently running it on a small home mail server. I was previously running 0.12.1-1 for the last few months, with systemd log source enabled, and I observed no showstopper issues. I think that the systemd log support is finally mature enough that we can enabled it by default.
Using the systemd log source is still opt-in (via the --systemd.enable flag). I have not studied the source code thoroughly enough to say whether we could patch this flag to be enabled by default. I don't know whether that would fail gracefully on non-systemd systems. For now, I think it's safest to merely add that flag to the systemd service file. I see no reason to have separate ARGS in /etc/default if we can basically just do this in the service:
ExecStart=/usr/bin/prometheus-postfix-exporter --systemd.enable $ARGSAs far as the Depends in d/control, these need a bit of a cleanup. Currently we have redundant stuff like "rsyslog | system-log-daemon", which could obviously just be "system-log-daemon". However, we should not force that upon systemd systems, so perhaps this should be "systemd | system-log-daemon", since the systemd package contains systemd-journald. Also, the init script is currently implemented using "daemon", and should ideally be migrated to use start-stop-daemon, as this would eliminate the dependency on the "daemon" package.
Mit freundlichen Grüßen, Daniel
OpenPGP_signature.asc
Description: OpenPGP digital signature

