[Bug 1750051] Re: cron doesn't support MAILFROM

kubuntu 1750051 at bugs.launchpad.net
Wed May 17 15:48:03 UTC 2023


Hi what is the status of this bug? It says " Fix Released " does that
mean it is fixed, is so what version? I am using Ubuntu 22.04.1 LTS and
I cannot get cron to accept the MAILFROM directive. No matter what I do
it always defaults to root. Unfortunately I can't get any notification
from cron without properly filling out this field.

The man page says it should work. I have spend many hours trying to get
this to work and looking for work around. Please confirm the status of
this bug, if it has indeed been fixed and if so what version. Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1750051

Title:
  cron doesn't support MAILFROM

Status in cron package in Ubuntu:
  Triaged
Status in cron package in Debian:
  Fix Released

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://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: cron 3.0pl1-128ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-116.140-generic 4.4.98
  Uname: Linux 4.4.0-116-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1750051/+subscriptions




More information about the foundations-bugs mailing list