Package: anacron Version: 2.3-36 Severity: important Tags: patch Dear maintainer,
This is an important bug because there is a grave issue when sending email messages from anacron. The current anacron manpage on Debian says: If a job generates any output on its standard output or standard error, the output is mailed to the user running Anacron (usually root), or to the address contained by the MAILTO environment variable in the crontab, if such exists. The affirmation about "MAILTO environment variable in the crontab" is not true. anacron never reads this variable. After some tests and inspections, the right is to say "MAILTO environment variable in the /etc/anacrontab file". Also, there is a manpage here[1], from cronie (crond daemon) project, that confirms this new affirmation. [1] https://man7.org/linux/man-pages/man8/anacron.8.html The attached patch will fix the manpage. Regards, Eriberto
--- debian/patches/debian-changes.orig 2023-02-22 10:52:05.567668316 -0300 +++ debian/patches/debian-changes 2023-02-22 10:53:22.910146050 -0300 @@ -90,8 +90,8 @@ If a job generates any output on its standard output or standard error, -the output is mailed to the user running Anacron (usually root). +the output is mailed to the user running Anacron (usually root), or to -+the address contained by the MAILTO environment variable in the crontab, if such -+exists. ++the address contained by the MAILTO environment variable in the /etc/anacrontab ++file, if such exists. .PP Informative messages about what Anacron is doing are sent to \fBsyslogd(8)\fR under facility \fBcron\fR, priority \fBnotice\fR. Error messages are sent at