Package: apticron Version: 1.2.5+nmu1 Severity: normal In the Mailx() function of apticron, if the mailx binary is neither heirloom-mailx/s-nail, then mailx is used with the -a option to override the email sender address. At least with bsd-mailx doing so will only change the From in the mail header but not the From of the enveloppe. Using -r in needed to override the envelope On systems with a minimal mta configuration to send outgoing emails, this is likely to cause email delivery problem as the enveloppe will be r...@hostname.fqdn and might be rejected by the remote mta if hostname.fqdn doesn't actualy exists.
Extract from bsd-mailx man page: -r from-addr Use from-addr as the from address in the message and envelope. Overrides any from options in the startup files. So I would suggest to use -r instead of -a when bsd-mailx is the mailx binary, as it's done when it's heirloom-mailx/s-nail, to improve deliverability. -- System Information: Debian Release: 12.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.8.8-2-pve (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apticron depends on: ii apt 2.6.1 ii bsd-mailx [mailx] 8.1.2-0.20220412cvs-1 ii bzip2 1.0.8-5+b1 ii cron [cron-daemon] 3.0pl1-162 ii dpkg 1.21.22 ii ucf 3.0043+nmu1 Versions of packages apticron recommends: ii apt-listchanges 3.24 ii gpg 2.2.40-1.1 ii iproute2 6.1.0-3 apticron suggests no packages.