diff --git a/sent_userinfo_postfix.sh b/sent_userinfo_postfix.sh index cb7f166..cb393fa 100755 --- a/sent_userinfo_postfix.sh +++ b/sent_userinfo_postfix.sh @@ -496,14 +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)" 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 +fi echo -e "\n\n----- Statistics -----\n\n\tSent mail to $num_mbox mailboxe(s) of $num_dom domain(s)" | tee -a $logfile