From 4c837396461bbe6cdbef352b55c331d190f5552e Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 29 Oct 2022 22:28:04 -0500 Subject: [PATCH] Regularize mail sent by debug as compared to mail sent by mail --- gatekeeper.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index c4ce02f..4590c3c 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -1141,7 +1141,7 @@ sub mail { ['Reply-To' => 'ftp-upload@gnu.org'], ['Message-ID'=> Email::MessageID->new->in_brackets], ], - wrap('','',$msg) . "\n"); + wrap('','',$msg)); } sub debug { @@ -1152,9 +1152,11 @@ sub debug { [$maintainer_email], [[To => $maintainer_email], [From => 'ftp-upload-script@gnu.org'], + [Date => strftime("%a, %e %b %Y %H:%M:%S %z", localtime)], [Subject => ("[$m_style gnu-ftp-debug] " ."new upload processed: $package_name")], ['Reply-To' => 'ftp-upload@gnu.org'], + ['Message-ID'=> Email::MessageID->new->in_brackets], ], $msg); } -- 2.25.1