cron doesn't support MAILFROM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Debian) |
Fix Released
|
Unknown
|
|||
cron (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Ubuntu's cron version doesn't support setting MAILFROM to set the "From:" header of cron generated emails. This feature would be nice to have and bring parity with RHEL/CentOS which has it since RHEL 6:
$ cat /etc/redhat-release
CentOS release 6.6 (Final)
$ man 5 crontab | grep -1 FROM
doesn´t do aliasing, and UUCP usually doesn´t read its mail. If MAIL-
FROM is defined (and non-empty), it will be used as the envelope sender
address, otherwise, ‘‘root’’ will be used.
$ apt-cache policy cron
cron:
Installed: 3.0pl1-128ubuntu2
Candidate: 3.0pl1-128ubuntu2
Version table:
*** 3.0pl1-128ubuntu2 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cron 3.0pl1-128ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-116-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 16 15:52:54 2018
InstallationDate: Installed on 2016-12-06 (436 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Beta amd64 (20161206)
SourcePackage: cron
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: bionic |
Changed in cron (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Low |
Changed in cron (Debian): | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in cron (Debian): | |
status: | Unknown → New |
Changed in cron (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in cron (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.