Hello,

Thank you for your bug report.

I shall lower the severity of your bug report, since it 
"causes non-serious data loss"

a...@example.org would be parsed as a valid e-mail address if one uses
regexp matching.

What improvement would you suggest? Should "crontab -e" send an e-mail
to recipients stated by MAILTO and wait for a reply?

Best regards,                   Georges.

On Fri, 19 Jan 2024 18:06:52 +0000 Jonathan H N Chin <deb...@jhnc.org> wrote:
> Package: cron
> Version: 3.0pl1-182
> Severity: grave
> Justification: causes non-serious data loss
> 
> Dear Maintainer,
> 
> 
>    * What led up to the situation?
> 
> 1. A user ran "crontab -e"
> 
> 2. He added the line (note the space):
> 
> MAILTO=a...@example.org, b...@example.com
> 
> 
> 3. He saved and exited
> 
> 4. No errors were reported to the user.
> 
> 
>    * What was the outcome of this action?
> 
> Subsequently, jobs ran but output was discarded.
> 
> /var/log/syslog contains "UNSAFE MAIL" messages which the user cannot see.
> 
> 
>    * What outcome did you expect instead?
> 
> At step 4, crontab should have reported an error to the user
> and not applied the update.
> 
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 5.15.0-91-generic (SMP w/1 CPU thread)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages cron depends on:
> ii  cron-daemon-common   3.0pl1-182
> ii  init-system-helpers  1.66
> ii  libc6                2.37-13
> ii  libpam-runtime       1.5.2-9.1
> ii  libpam0g             1.5.2-9.1+b1
> ii  libselinux1          3.5-1+b2
> ii  sensible-utils       0.0.20
> 
> Versions of packages cron recommends:
> ii  exim4-daemon-heavy [mail-transport-agent]  4.97-4+b1
> 

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: PGP signature

Reply via email to