diff -Nur --no-dereference smeserver-clamav-2.7.0.old/root/sbin/e-smith/freshclam-update-failed smeserver-clamav-2.7.0/root/sbin/e-smith/freshclam-update-failed --- smeserver-clamav-2.7.0.old/root/sbin/e-smith/freshclam-update-failed 2020-12-02 11:37:01.000000000 -0500 +++ smeserver-clamav-2.7.0/root/sbin/e-smith/freshclam-update-failed 2021-11-15 13:18:27.887000000 -0500 @@ -17,10 +17,13 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #---------------------------------------------------------------------- +ServerHostName=$(/sbin/e-smith/db configuration get SystemName) +DomainName=$(/sbin/e-smith/db configuration get DomainName) + /usr/bin/tac /var/log/freshclam/current | \ /bin/sed -n '/Downloading/d;1,/process started/p;/process started/q' | \ /usr/bin/tac | \ /usr/local/bin/tai64nlocal | \ - /bin/mail -s 'freshclam: Update failed' admin + /bin/mail -s "freshclam: Update failed on $ServerHostName.$DomainName" admin exit 0