Hi, 1)
MAILFROM= is supported for a long time, is it enough ? v1.5.18 : 2020-12-26 Various improvements to email on error: * Revert "Use DynamicUser=yes for error email generator" * Use sysusers.d snippet instead * Support for MAILFROM variable [thanks MarcoCLA] 2) _cron-failure should had been (re-)created by systemd-sysusers: $ cat debian/systemd-cron.sysusers u _cron-failure -:systemd-journal - /nonexistent /usr/sbin/nologin $ cat debian/rules execute_after_dh_auto_install: # automatic with DebHelper >= 14 dh_installsysusers Le jeu. 1 févr. 2024 à 08:09, Martin-Éric Racine <martin-eric.rac...@iki.fi> a écrit : > > Package: systemd-cron > Version: 2.3.0-1~bpo12+1 > Severity: important > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > 1) In its current form, systemd-cron mails the result of global cron jobs > from root@fqdn, which fails since we aren't FQDN's administrator. > > 2) As a result, systemd-cron tries to notify the administrator of the failed > delivery, but does so from a non-existent mail account _cron-failure, which > thus also fails. > > Fixing this requires systemd-cron to support the SENDFROM variable. >