Hello everyone –
I have a minor problem with yum-cron. It has been doing this for a long time, and finally today I got annoyed enough to want to fix it.
The problem: When yum-cron sends an email notification, the message is sent without a date field. Therefore it shows up in my inbox as “date: Unknown”
and sorts to the opposite end of the list.
The system is CentOS 7.4.1708 with all patches. Yum-cron is version
The email headers look like this:
X-Original-To: firstname.lastname@example.org Delivered-To: email@example.com Received: from boinc01.billgee.local (unknown [192.168.17.131]) by campercaver.net (Postfix) with ESMTP id 94EA62C0C70 for
; Thu, 18 Jan 2018 03:44:26 -0600 (CST)
Content-Type: text/plain; charset=”us-ascii”
Content-Transfer-Encoding: 7bit Subject: Yum: Updates installed on boinc01.billgee.local From: firstname.lastname@example.org To: email@example.com X-Spambayes-Classification: ham; 0.00
As you can see, there is no “Date:” field.
I don’t see anything in /etc/yum/yum-cron.conf that might affect this. I also see nothing in /etc/mail.rc,l though in this case it might not be using that file.
The system does not have an SMTP server on it. Yum-cron.conf specifies another server for SMTP. It obviously works since I receive emails from it.
Is this a bug in yum-cron? Am I missing something obvious?