Only change '.gitignore' file.

This commit is contained in:
2020-08-06 01:42:01 +02:00
parent 12870d71e5
commit c6b3393bea
6 changed files with 76 additions and 47 deletions

View File

@ -496,9 +496,14 @@ $ENCODED_MESSAGE
num_dom=num_dom+1
done
if ! $TEST_RUN ; then
#if ! $TEST_RUN ; then
mv "$message_body_file" "${message_body_file}.SENT.$(date +%Y-%m-%d)"
fi
if [[ -f "${file_dir}/sent_userinfo_postfix.subject" ]]; then
mv "${file_dir}/sent_userinfo_postfix.subject" "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
else
echo "$email_subject" > "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
fi
#fi
echo -e "\n\n----- Statistics -----\n\n\tSent mail to $num_mbox mailboxe(s) of $num_dom domain(s)" | tee -a $logfile