From 7e7269034f8353abe20d5b0b186bbd3efede802e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 26 Nov 2012 17:25:21 +0100 Subject: [PATCH] display mail headers. Closes: DEVINF-255 --- liveboot_testdeploy.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index 5b7e971..099410b 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -120,9 +120,22 @@ fi echo # -# send announce mail +# output announcement mail headers # +while read line ; do + if [ "$line" != "" ] ; then + echo $line + else + break + fi +done < $MAIL +echo mailtextbody < $MAIL ; echo +echo "Attachments not shown here." +echo +# +# send announcement mail +# cat $MAIL | /usr/sbin/sendmail -t echo echo "Ok, announcement mail sent." -- 2.39.5